点击按钮没反应
<!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 qrdk=confirm("确认打开新的网页吗?");
if(qedk==true)
{
var qrwz=prompt("请输入网址","http://www.imooc.com/");
if(qrwz!=null)
{window.open(qrwz,'_blank','width=400,hight=500,menubar=no,toolbar=no');}
else{alert("结束");}
}
else
{alert("结束");}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>