Tabs初始化时如何让特定的tab处于选中状态

使用UPDATE方法

update

param

Update the specified tab panel, the param parameter contains two properties:
tab: the tab panel to be updated.
options: the panel options.


 $('#div_sysconfig').tabs('update',{
        tab:$('#div_sysconfig').tabs('getTab','首页图片管理'),
        options:{
        selected:true
        }
    });

posted @ 2011-07-15 17:42  dodo-yufan  阅读(3440)  评论(0编辑  收藏  举报