原文: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.reloa ...

2016-09-13 17:11 0 1667 推荐指数:

查看详情

JS 关闭window.open的窗体,并刷新页面

Web开发中经常会遇到,使用 window.open打开窗体。 那么问题来了,怎么关闭打开的窗体? 网上给出了很多的解决方便,试了一些都没有效果, window.top.close()   这个在IE、Chrome中都可以用 打开窗体是,为了方便操作,往往需要 ...

Tue Sep 12 01:22:00 CST 2017 0 2070
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM