关闭子窗体时刷新父页面
1 $(function () { 2 window.onbeforeunload = function (event) { 3 window.opener.location.href = window.opener.location.href; 4 self.opener.location.reload(true); 5 }; 6 })
1 $(function () { 2 window.onbeforeunload = function (event) { 3 window.opener.location.href = window.opener.location.href; 4 self.opener.location.reload(true); 5 }; 6 })