Reputation: 13243
It's obvious this works for non-ajax tabs: http://jqueryui.com/demos/tabs/default.html#tabs-2
But how do you get this working for ajax tabs, as shown in this example: http://jqueryui.com/demos/tabs/ajax.html
I tried giving the <a name="">
, that didn't quite work, just curious what's the best way to get this functionilty of using the # in the url to preload a tab with ajax tabs in jquery?
Thanks.
Upvotes: 0
Views: 460
Reputation: 14510
It works exactly the same with ajax tabs too:
Visit this page: http://jqueryui.com/demos/tabs/ajax.html#ui-tabs-2 and note that the content shown is loaded with ajax.
Upvotes: 1