开发者

ultra simple jquery tabs multiple tab problem

I have a question about ultra simple jquery tabs. I use this script: http://jsfiddle.net/HX5KZ/2/

When I开发者_运维问答 duplicate same tab with html code, the second tabs button open first tab-container. When I tried to change "switch_tabs" function and i tried to built each function structure. But couldnt change this issue.


your problem is that you have multiple DOM elements with the same ID.

ID has to be unique. try using different ID's for the second content elements

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜