How can I set a jQuery tab number that's present in an ASP.NET MVC model?
- by user314241
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