关闭子窗口时刷新父窗口 [英] refresh parent window when closing child window
本文介绍了关闭子窗口时刷新父窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在单击子窗口的关闭按钮时刷新父窗口?
How can I refresh the parent window when clicking the close button of a child window?
子窗口是弹出窗口。
推荐答案
您可以使用
window.opener
并使用
window.opener.reload()
See window.opener
这篇关于关闭子窗口时刷新父窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文