window.open页面关闭后刷新父页面
如题
function openWin(url,text,winInfo){ var winObj = window.open(url,text,winInfo); var loop = setInterval(function() { if(winObj.closed) { clearInterval(loop); //alert('closed'); parent.location.reload();
//window.location.reload(); 刷新当前页面 } }, 1); }