javascript刷新父页面的各种方法汇总,layer.open也可用
1.用iframe、弹出子页面刷新父页面iframe
parent.location.reload(); </script>
2.弹出子页面
window.opener.location.reload();
3.子窗口刷新父窗口
self.opener.location.reload();
4.刷新以open()方法打开的窗口
window.opener.location.href=window.opener.location.href;
5.刷新以winodw.sh...
原创
2020-06-06 20:49:39 ·
749 阅读 ·
0 评论