代码的答案
function openWindow(){ if(confirm("是否打开新窗口?") == true){ var webSite = prompt("确定打开的网址","www.imooc.com") if(webSite !== null){ window.open (webSite,"_blank","width=400,height=500,menubar=no,toolbar=no") }; }; };
function openWindow(){ if(confirm("是否打开新窗口?") == true){ var webSite = prompt("确定打开的网址","www.imooc.com") if(webSite !== null){ window.open (webSite,"_blank","width=400,height=500,menubar=no,toolbar=no") }; }; };
2016-08-05
举报