0

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.

3
  • So you want to access www.example.com/#tab3 and load the tab3 with ajax? Commented Dec 12, 2011 at 2:00
  • yes, but something preferably native to the original .tabs() functionality. Commented Dec 12, 2011 at 2:03
  • What you mean by preferably native? Commented Dec 12, 2011 at 2:07

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

The above link seems to be not working. You can check here: jqueryui.com/tabs/#ajax

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.