求大神看看
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;cherset=utf-8">
<title>期中作业</title>
<script type="tezt/javascript">
function a1(){
var a2=confirm("是否打开?");
if(a2==true){
var a3=prompt("请输入网址","http://www.hao123.com")
window.open(a3,'_blank','width=400,height=500,menubar=yes,toolbar=no')
}
else{
}
}
</script>
</head>
<body>
<input name="button" type="button" value="点这里" onclick="a1()"/>
</body>
</html>点了框子,没弹出确认狂