刷新标签中的iframe,调用iframe中的函数

if(Ext.isIE){
if(parent.document.frames[id].document.getElementById("graphContainer") != null){
//parent.document.frames[id].document.location.reload(); /*刷新页面法,体验不好,取消*/
parent.document.frames[id].run(); /*调用页面中的run函数,流程页面中必须有此函数*/
}
}else{
if(document.getElementById(id).contentDocument.getElementById("graphContainer") != null){
//document.getElementById(id).contentDocument.location.reload(true); 
document.getElementById(id).contentWindow.run();

原文地址:https://www.cnblogs.com/meetrice/p/2557595.html