这按钮咋没反应
<!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 gg==confirm("是否打开?");
if(gg==true)
{
var hh==prompt("打开网址吗","http://www.imooc.com/");
if(hh!=null)
{
window.open(hh,"_blank",'width=400,height=500,toolbar=no,menubar=no');
}
else
{
alert("bye");
}
}
else
{
alert("bye");
}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>