<!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(){window.open('http://www.baidu.com','_blank','height=600,width=400,top=400,left=500');
}
</script>
</head>
<body>
<input name"button" type="button" onclick="Wopen" value="点击打开新窗口" />
</body>
</html>
onclick后门应该为onclick=“Wopen()”
嗷看到了onclick后面没有括号