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