为什么错误?
为什么错误?
function openit() {window.open('http://www.imooc.com/','_blank','width = 400,height=500,menubar=no,toolbar=no');} function openWindow() { var open=confirm('确定是否打开http://www.imooc.com/?'); if(open==ture) { var open2=prompt('确定打开下列网址?','http://www.imooc.com'); if(open2==ture) {openit();} else {alert("再见!");} } else {alert("再见!");} }