求指导,为什么运行后是打不开网页
function openWindow() { var myopen; var mysure=confirm("are you sure"); myopen=prompt("open the window","http://www.imooc.com/"); if(mysure) { window.open(myopen,'_blank','width=400,height=500'); } }
function openWindow() { var myopen; var mysure=confirm("are you sure"); myopen=prompt("open the window","http://www.imooc.com/"); if(mysure) { window.open(myopen,'_blank','width=400,height=500'); } }
2016-09-21
举报