麻烦大神看下为什么点确定后不会弹出网页?
<!DOCTYPE html>
<html>
<head>
<title> new document </title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<script type="text/javascript">
var zj="zai'jian"
function openWindow(){
var qrk=confirm("是否打开新窗口?");
if(qrk==true){
windows.open('http://www.imooc.com',
'_blank',
'width=600,height=400,top=100,left=0,menabar=no,toolbar=no');
}else{
document.write(zj)
}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>