当关闭showModalDialog的弹出窗口时,总用会弹出一个新的窗口。关闭方法如下:
<script>this.window.close();</script>

  解决方法为:在HTML页面中的html和body之间加入下边代码就可以了。
<base target=_self>
  showModelessDialog的弹出窗口也同样方式关闭。

相关文章:

  • 2022-02-20
  • 2022-02-24
  • 2021-05-24
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
  • 2021-09-03
  • 2021-11-19
猜你喜欢
  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案