开发者

How to set the content of a tab in JQuery UI

开发者 https://www.devze.com 2023-03-18 17:23 出处:网络
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 c

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

精彩评论

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