请问为什么窗口都弹不出来呢!
function openWindow()
{var open = confirm ('open new window!');
if (open==true)
{var url = prompt('open this web', 'www.google.ca');
if (url!=null)
{window.open(url,"_blank",'width=400px,height=500px,menubar=no,toolbar=no');}
else{
alert('bye')
}
else{
alert('bye')
}
}
}