谁能帮忙看看哪里出了问题,本人初学者,弄了一下午也没成功
function openWindow()
{var open=confirm("是否打开?")
if(open==true)
{var url=prompt("确定打开该网页","http://www.imooc.com");
if (url=null)}
{window.open(url,"_blank",'width=400px,height=500px');}
else
{alert("88");}
else
{alert("bb");}}