开发者

How to switch from one to another tab using jQuery,java script?

How to switch from one to another tab using jQuery,jav开发者_JAVA百科a script???


If you mean "switch among browser tabs", I think that it is not possible nor advisable: browsers do not allow to take control over them without the intervention of the user.


I'm assuming you are using jQueryUI tabs plugin. From the demo page:

$('#example').tabs('select', 2); // switch to third tab

http://jqueryui.com/demos/tabs/#...select_a_tab_from_a_text_link_instead_of_clicking_a_tab_itself

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜