我的为什么点不动呢?
<!DOCTYPE HTML>
<html>
<head>
<title>hello javascript</title>
<meta http-equiv="Content-Type" content="text/html charset=utf-8">
<script type="text/javascript">
function open(){
var isok=confirm("是否打开这个窗口?");
if(isok==true){
var url=prompt("请你输入网址");
if(url!=null){
window.open(' http://www.imooc.com/','_blank','width=400,height=500,menubar=no,toolbar=no');
}else{
alert("再见");
}
}else{
alert("再见");
}
}
</script>
</head>
<body>
<input type="button" name="button" value="javascript" onClick="open">
</body>
</html>