用iframe、弹出子页面刷新父页面iframe
Js代码
parent.location.reload();
parent.location.reload();
弹出子页面
window.opener.location.reload();
window.opener.location.reload();
子窗口刷新父窗口
self.opener.location.reload();
self.opener.location.reload();
刷新以open()方法打开的窗口
window.opener.location.href=window.opener.location.href;
window.opener.location.href=window.opener.location.href;
刷新以winodw.showModelDialog()方法打开的窗口
window.parent.dialogArguments.document.execCommand('Refresh');
window.parent.dialogArguments.document.execCommand('Refresh');
PHP技术交流QQ群:422137578
除非注明,文章均为 PHP二次开发 原创,转载请注明本文地址:http://www.php2.cc/article-2329-1.html