2016/1/5 当关闭子窗口的时候父窗口刷新
//覆盖关闭事件,刷新父窗口 window.onbeforeunload = function() { if(window.opener!=null){ window.opener.location.href = window.opener.location.href; } }
js学习记录
原文:http://www.cnblogs.com/hy23/p/5102090.html