1

In my jQuery tabs I had to implement pagination functionality, so I did dynamic reload tab's content with the code:

$('#articles_tabs').tabs('url', index, url).tabs('load', index);

but since 1.9.0 url method has been deprecated and the code above doesn't work anymore...

Does anybody know how to rewrite it?

1 Answer 1

1

From the jQuery site:

The content for each tab panel can be defined in-page or can be loaded via Ajax; both are handled automatically based on the href of the anchor associated with the tab.

In other words just put you content location in the href attribute. You can force loading by calling $('#articles_tabs').tabs( "load", 1 );

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

Comments

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.