天天看点

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

        }

    });