标签:var pre closed 刷新 div 关闭 cti open class
var winObjEI = window.open("/Invoice/InvoiceViewEI?invoiceid=" + data.InvoiceId); var isClose = 1; //关闭open页面时刷新父页面列表 var loop = setInterval(function () { if (winObjEI.closed && isClose == 1) { isClose--; //这里写刷新代码 } }, 1000);
isClose字段保证父页面只在子页面关闭时刷新一次。
标签:var pre closed 刷新 div 关闭 cti open class
原文地址:http://www.cnblogs.com/xuwendong/p/6386556.html