开发者

How to set the content of a tab in JQuery UI

Using JQuery UI, I would like to set the html content of 开发者_如何转开发the currently selected tab, without knowing any id/title in advance. What is the best method for doing so? Thanks!


Just use a css selector:

$('.ui-tabs-panel').not('.ui-tabs-hide').html('Content.');

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜