Page 1 of 1

How can I change tab using jquery?

Posted: Sat Sep 03, 2011 10:34 pm
by tomphantoo
Upon clicking a relevant link, I'd like to be able to select/activate a tab directly, instead of reloading an entire page, with an 'active-tab-name' parameter. This relates to tabs of an admin page, so jquery is present, in my case, jquery-ui-1.8.4.custom.min.js.

The documented approach, something like

Code: Select all

 $('#page_tabs').tabs('select',indx);
doesn't work.

Any suggestions?