浮层内嵌iframe及frame集合窗口,刷新父页面的多种方法
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()方法打开的窗口
Java代码
window.parent.dialogArguments.document.execCommand('Refresh');
相关标签:JS
发布php中文网,转载请注明出处,感谢您的尊重!