幫忙看看代碼哪里有錯(cuò)啊
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>window對(duì)象</title>
<script type="text/javascript">
function myopen()={
? ? alert("歡迎來(lái)到慕課網(wǎng)");
? ? window.open('http://vsco.co/','_blank','width=600,height=400');
}
</script>
</head>
<body>
<form>
<input type="button" onclick="myopen()" value="點(diǎn)擊我,打開新窗口" ?/>
</form>
</body>
</html>
一直沒(méi)反應(yīng)
2015-08-14
myopen()后面不要等于號(hào)