Javascript刷新页面 [英] Javascript refresh page
本文介绍了Javascript刷新页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个带有按钮弹出窗口的html页面。如果我单击此按钮弹出一个新窗口,我会在此窗口中执行所有更改,然后单击关闭按钮。关闭弹出窗口后,应该刷新带有弹出按钮的html页面。这可能吗?
I have a html page with a button pop-up. If I click on this button a new window Pops-up, I do all of my changes in this window and then click the close button. The html page with the popup button should refresh after I closed the pop-up window. Is this possible?
推荐答案
是。
//reload opener...
window.opener.location.reload();
//close self...
window.close();
这篇关于Javascript刷新页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文