问答详情
源自:2-1 JavaScript-输出内容(document.write)

运行显示错误?为什么?哪位大神帮忙看看

<!DOCTYPE HTML>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>window.open</title>

<script type="text/javascript">

  function Wopen(){

    windows.open('http://www.imooc.com','_blank','top=100,left=0,width=600,height=400');  


  } 

</script>

</head>

<body>

    <input name="button" type="button" onClick="Wopen()" value="点击我,打开新窗口!" / >

</body>

</html>


提问者:qq_风之幻想_0 2017-10-02 14:25

个回答

  • 慕码人0077339
    2017-10-02 15:19:29
    已采纳

    window.open不是windows.open