為什么我這個打不開呀
<!DOCTYPE html>
<html>
?<head>
? <title> new document </title>?
? <meta http-equiv="Content-Type" content="text/html; charset=gbk"/>??
? <script type="text/javascript">?
??? function openWindow(){
??? var b=confiem("三風水");
if(b){window.open('http://www.xianlaiwan.cn/','_blank','width=400px,height=500px);}
?? else{alert("進來");openWindow();
???
? </script>
?</head>
?<body>
?? <input? name="button" type="button" value="新窗口打開網站" onClick="openWindow()" />
?</body>
</html>
2020-10-22
var b=confiem("三風水");
以上的confiem應該為confirm吧。