怎么运行不了
var mywin=confirm("open or not?);少了分号
if(mywin==true){
// 通过输入对话框,确定打开的网址,默认为 http://www.imooc.com/
var url=prompt("print web enter:","http://www.imooc.com/");
if(url!=null){
//打开的窗口要求,宽400像素,高500像素,无菜单栏、无工具栏。
window.open("http://www.imooc.com/","_blank",'width=400px,height=500px,manubar=no,toolbar=no');
}else{
alert("error!");
}else{
alert("error!");
}
}
连续两句else 语法错误;已经回复你了 去看看你第一次发我回复的