A(父窗体)

使用window.open(url);打一个子窗口(B)

 

然后在子窗口(B)使用window.opener.location可以获得父窗口信息

在子窗口使用

 window.opener.location.reload();刷新父窗口
window.close();关闭当前窗口

 

相关文章:

  • 2022-03-09
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
猜你喜欢
  • 2021-10-04
  • 2021-12-29
  • 2021-07-23
  • 2021-09-13
  • 2021-10-26
  • 2021-10-03
  • 2022-12-23
相关资源
相似解决方案