关闭时刷新父窗口两种方法_Javascript教程-查字典教程网
关闭时刷新父窗口两种方法
关闭时刷新父窗口两种方法
发布时间:2016-12-30 来源:查字典编辑
摘要:window.opener.location.reload()刷新父窗口window.opener.location.reload()与wi...

window.opener.location.reload()刷新父窗口

window.opener.location.reload() 与 window.opener.location.href=window.opener.location.href

都是弹出窗口关闭时用来刷新父窗口。

但window.location.Reload 如果有数据提交的动作,会提示是否提交的(是和否选项)

window.opener.location.href=window.opener.location.href 是定向url提交数据,则不会出现是和否

的选择框。

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新Javascript教程学习
    热门Javascript教程学习
    编程开发子分类