if you are using IE5.5 and up, try to call
window.opener = null;before you call window.close()

解决方案 »

  1.   

    <OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT> 
    <input type=button onClick=document.all.WebBrowser.ExecWB(45,1)value=关闭>
      

  2.   

    哦,少了一个空格
    <OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT> 
    <input type=button onClick=document.all.WebBrowser.ExecWB(45,1) value=关闭>saucer(思归)的办法:
    <a href="javascript:opener=null;window.close()">关闭</a>