IE不确认关闭窗口
window.opener=null;window.close();在IE6正常,在IE7/IE8下就弹出要关闭窗口前的提示。解决方法如下:
<a href="#" onclick="window.opener=null;window.open('','_self');window.close();">不确认关闭 </a>
posted on 2009-08-17 08:37 Lionheart Zhang 阅读(454) 评论(1) 编辑 收藏 举报