How can I set a jQuery tab number that's present in an ASP.NET MVC model?
Posted
by user314241
on Stack Overflow
See other posts from Stack Overflow
or by user314241
Published on 2010-04-12T05:31:18Z
Indexed on
2010/04/12
5:43 UTC
Read the original article
Hit count: 287
asp.net-mvc-2
|jQuery
Hi,
I have an ASP.NET MVC view on which I've placed jQuery tabs. I'm loading the tabs using:
function getContentTab(index) {
var url='<% = Url.Content("~/Books/GetBookTab") %>/' + index; ... }
I have stored the user's default tab selection in the model associated with this view.
My question is this, how can I set the tab number (index) with the number in my model data?
Thanks,
Arnold
© Stack Overflow or respective owner