怎么乱码而且取消不弹出no功能
<!DOCTYPE html>
<html>
<head>
<title> new document </title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script type="text/javascript">
function openWindow(){
var open=confirm("ready?","http//www.imooc.com");
if(open==true){
var url=prompt("is this?","http//www.imooc.com");
if(url!=null){
window.open(url,'_blank,width=400px,height=500px,toolbar=no,menubar=no');
}
else{
alert("no");
}
else(){
alert("no");
}
}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>