window.onbeforeunload = function() {
//这里刷新方法有很多,具体要看你的子窗口是怎样出来的
window.opener.location.reload();
//parent.location.reload();
//self.opener.location.reload();
//window.opener.location.href=window.opener.location.href;
}
如果子页面是window.open打开的就用:
window.opener.location.href=window.opener.location.href;