开发者

Passing selected option in URl to Jquery UI tabs

Is there a way that i can link to a page containing a jquery ui tab set and pass the selected variable in the url link to automatically show a particular tab开发者_运维问答 depending in which link was clicked to reach the page?


Yes, you can do this by constructing the url like so http://jqueryui.com/demos/tabs/#tabs-2

Essentially you are passing the id of the tab's content div after the hash. It worked on Chrome, but it should probably work everywhere.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜