我这个是哪里错误了呢?
script type="text/javascript">
function openWindow(){
var openWindow=confirm("确认打开网页?");
if(openWindow=true);
{
window.open("http://wwww.imooc.com","width=400,height=500,menubar=no,status=no");
}
else(openWindow=false)
}
script type="text/javascript">
function openWindow(){
var openWindow=confirm("确认打开网页?");
if(openWindow=true);
{
window.open("http://wwww.imooc.com","width=400,height=500,menubar=no,status=no");
}
else(openWindow=false)
}
2016-03-29
举报