哪里有问题吗?怎么点按钮不弹窗呢、、、
<!DOCTYPE html>
<html>
<head>
<title> new document </title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<script type="text/javascript">
function vre(){
var soc=confirm("是否要打开新网址?");
if (soc==true){window.open('http://www.imooc.com/,width=400px,height=500px,toolbar=no,menubar=no');}
else{}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>