Im using the jQuery UI Tabs: http://api.jqueryui.com/tabs/
How can I make a link on my page thats outside of the tabs, when clicked make a certain tab active? Thanks
Im using the jQuery UI Tabs: http://api.jqueryui.com/tabs/
How can I make a link on my page thats outside of the tabs, when clicked make a certain tab active? Thanks
In IE10 option 'active' not work. I use instead of 'active' option 'selected'.
See http://api.jqueryui.com/tabs/#option-active
To get current active tab index:
To set current active tab:
For example:
Try this:
and them your url look like this: "[URL]#tab-number"
I hope help you.... Regards...
Ive marked @Secator's answer as correct as I can see from the documentation hes right. However for some reason it didnt work for me so instead I 'manually' simulated a click on the tab:
tabNumber starts with 0