yy們幫我看看唄
<!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 mass=confirm("確定打開網(wǎng)?");
? ? if(mass==ture)
? ? {window.open('prompt("請輸入網(wǎng)址:")''width=400,height=500,munebar=no,toolbar=no');}
? ? ? ? ?
? ? ?}
? ?
? ??
? ??
? </script>?
?</head>?
?<body>?
? <input type="button" value="新窗口打開網(wǎng)站" onclick="openWindow()" />?
?</body>
</html>
代碼哪里有錯嗎?
2021-04-13
以上是我的代碼 很好的運行了,你可以看一下,你的代碼有點亂,費眼 我就不看了?