本身是个html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>
  <SCRIPT   LANGUAGE="javascript" type="text/javascript" >       
  function   openwin()   {   window.open   ("cx.aspx",   "newwindow",   "height=100,   width=400,   toolbar=       
  no,   menubar=no,   scrollbars=no,   resizable=no,   location=no,   status=no")       
  
  }    </script>       
      </title>
      </head>
<body leftmargin="0" topmargin="0" rightmargin="0"  onload="openwin()">
<table width="550" height="540">
  <tr>
    <td align="center"></td>
  </tr>
</table>
</body>
</html>运行时错误 缺少 对象

解决方案 »

  1.   

    下次不要在 title 中定义 script
    L@_@K
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
        <title></title>    <script  LANGUAGE="javascript" type="text/javascript" >
    function openwin()
    {
        window.open("cx.aspx", "newwindow", "height=100,width=400,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
    }
        </script>      </head>
    <body leftmargin="0" topmargin="0" rightmargin="0"  onload="openwin()">
    <table width="550" height="540">
      <tr>
        <td align="center"> </td>
      </tr>
    </table>
    </body>
    </html>
      

  2.   

    在 title写肯定会出现问题的.