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