jquery easyui 的tabs选中事件,该怎么解决
4 回答

慕桂英546537
TA贡献1848条经验 获得超10个赞
jquery easyui 的tabs选中事件,该怎么解决
$('#tt').tabs({ border:false, onSelect:function(title,index){ alert(title+' is selected'); #这里写你要怎么处理这个选中的tab }});
$('#tt').tabs({
border:false,
onSelect:function(title){
//alert(title+' is selected');
}

慕斯王
TA贡献1864条经验 获得超2个赞
1 2 3 4 5 6 7 | $('#tt').tabs({ border:false, onSelect:function(title,index){ alert(title+' is selected'); #这里写你要怎么处理这个选中的tab } }); |

红颜莎娜
TA贡献1842条经验 获得超12个赞
$('#tt').tabs({
border:false,
onSelect:function(title){
//alert(title+' is selected');
}

冉冉说
TA贡献1877条经验 获得超1个赞
var tab = $('#tt').tabs('getTab',0); // 取得第一个tab
$('#tt').tabs('update', {
tab: tab,
options: {
title: 'New Title'
}
});
- 4 回答
- 0 关注
- 390 浏览
添加回答
举报
0/150
提交
取消