//tabContainer:easyui-tabs或者id,title名称
this.updateEasyuiTab = function (tabContainer, outTitle, outUrl) {
var tabs = $("#tabs").tabs().tabs('tabs');
var title = "";
for (var i = ; i < tabs.length; i++) {
tabs[i].panel('options').tab.unbind().bind('click', { index: i }, function (e) {
title = ($(this).find(".tabs-title").html());
var tab = tabs[];
var url = outUrl;// "TranForwardDetailManage.aspx?Id=" + $("#txt_Id_").val();
var src = '<iframe name="indextab" scrolling="auto" frameborder="0" src=' + url + ' style="width:100%;height:100%;"></iframe>';
if (title != outTitle) {
return;
}
$("#tabs").tabs('update', {
tab: tab,
options: {
content: src
}
});
tab.panel('refresh');
});
}
}