求大神幫我看看那里錯了
<!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 a;
? ? ? ? var b = confirm("您是否要打開窗口?");
? ? ? ? if(b){
? ? ? ? ?a=window.open('http:www.xianlaiwan.cn','width=400,height=500,menubar=no,toolbar=no);
? ? ? ? }
? ? }
? ??
? </script>?
?</head>?
?<body>?
?<input type="button" value="新窗口打開網站" onclick="openWindow()" />?
?</body>
</html>
2017-06-19
?? ?a=window.open('http:www.xianlaiwan.cn','width=400,height=500,menubar=no,toolbar=no);
少一個結束的單引號
2017-06-19
那個地方
2017-06-19
多了一個單引號