哪里出問(wèn)題
<!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://idcbgp.cn','_blank','width=300,height=200')
? }? ? ?
</script>
</head>
<body>
? ? <input name="button" type="button" onClick="Wopen()" value="點(diǎn)擊我,打開(kāi)新窗口!" / >
</body>
</html>
? ?
2020-05-11
語(yǔ)法錯(cuò)誤,window.open()? 不是windows.open()
2020-05-03
第八行是window.open
多加了個(gè)s
2020-04-08
window.open 不是windows