2010年10月26日
摘要: 在IE7、IE8中,使用JavaScript提供的close()方法都可以关闭当前窗口或标签,但都提示讨厌的对话框,下面的代码,可以无提示直接关闭。JavaScript代码functionCloseWin() { window.opener=null; window.open('','_self'); window.close(); }或者直接这样书写: <input id="Button1... 阅读全文
posted @ 2010-10-26 21:11 -Anny- 阅读(222) 评论(0) 推荐(0) 编辑