代码有错吗?提交正确了为什么说网页上有错误运行不了呢?
<!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(){
var mymessage=comfirm("你想知道慕课网怎么走么?");
if(mymessage==true)
window.open('http://www.imooc.com','_blank','width=600,height=400,top=100,left=0');
else
{alert("打开失败!");
}
</script>
</head>
<body>
<input name="button" type="button" onClick="Wopen()" value="点击我,打开新窗口!" / >
</body>
</html>