我的运行不起来 为啥呢
<script type="text/javascript">
function openWindow(){
var choose=confirm("是否打开?");
if (choose=ture){
var aaa=prompt("确认打开网址","http://www.imooc.com");
window.open(aaa,'_blank','width=400,height=500,menubar=no,toolbar=no');
}
else{
alert("失败");
}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />