js关闭窗口时老提示的问题。
以前在IE6下关闭窗口是这样的,window.opener = null;window.close();
在IE7中,这样是不行的,仍然会弹出提示,
必须在中间加一句,window.open("","_self");  像下面的形式就行了。
window.opener = null;
window.open("","_self");    //这是IE7中必需的
window.close();

相关文章:

  • 2021-09-09
  • 2021-12-16
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2021-08-03
  • 2021-08-26
  • 2022-03-06
猜你喜欢
  • 2021-11-20
  • 2022-02-27
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-06
  • 2021-05-21
相关资源
相似解决方案