开发者

jQuery tabs - using appendTo to add or remove tabs

I'm trying to append a tab to a div receiver, whe开发者_运维知识库n the close button is pressed

Any ideas?


You can add a tab dynamically. Ty this in console at http://jqueryui.com/demos/tabs

$("#tabs").tabs("add", "#tabs-4", "Tab 4", 4);
$("#tabs > div:eq(3)").html("<b>New Tab</b>");
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜