點按鈕沒反應(yīng)
<!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://idcbgp.cn,'_blank','width=600,height=400,top=100,left=0)
? }?
</script>
</head>
<body>
? ? <input name="button" type="button" onClick="Wopen()" value="點擊我,打開新窗口!"? / >
</body>
</html>
2020-05-24
window.open('http://idcbgp.cn','-blank','width=600,height=400,top=100,left=0') ;
2020-03-19
window.open()這一段,第一個引號中,網(wǎng)址最后多加了逗號,逗號應(yīng)該放在單引號外面;還有第三個引號,不完整。