这个对你有帮助。<input type=button value=关闭 onclick="window.opener='meizz';window.close()">
<!-- IE5.5+ 不会有弹出提示 --><OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT>
<input type=button value=关闭窗口 onclick=document.all.WebBrowser.ExecWB(45,1)>
<!-- IE5.5+ 不会有弹出提示 -->
<input type=button value=Close onclick="window.close();">
<!-- IE5.5+ 不会有弹出提示 --><OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT>
<input type=button value=关闭窗口 onclick=document.all.WebBrowser.ExecWB(45,1)>
<!-- IE5.5+ 不会有弹出提示 -->
<input type=button value=Close onclick="window.close();">
onsubmit="window.locationbar.visible=false;menubar.visible=false"我的想法是在登陆页面弹出一个新的窗体,显示方式为fullscreen
window.open(url,null,fullscreen)关闭登陆页面窗体时,会弹出一个对话框,问我是否确认关闭窗体,该如何屏蔽这个对话框???
window.self.close;window.opener=null