1.根据iframe title获取tab:var subtitle = $(this).children("span").text();var pp = $('#tabs').tabs('getTab',subtitle);
2.点击选项卡刷新datagrid:
$(".tabs-inner").click(function(){
var subtitle = $(this).children("span").text();
var pp = $('#tabs').tabs('getTab',subtitle);//选中的选项卡对象
var content = pp.panel('options').content;//获取面板内容
$("#tabs").tabs('update',{//更新
tab:pp,
options:content
})
});
3.在iframe中关闭tab:parent.$('#tabs').tabs('close', '${close_title}');
4.ie上测试必须要让ajax禁止缓存
就写这些,别的需求网上就很好找了