这样写的,对了吗?
function openWindiw() { var message = confirm("是否打开?"); if(message == true){ window.open("http://www.imooc.com","_blank","width = 400,height = 500,toolbar = no,menubar = no,"); } else{ window.close(); } }
function openWindiw() { var message = confirm("是否打开?"); if(message == true){ window.open("http://www.imooc.com","_blank","width = 400,height = 500,toolbar = no,menubar = no,"); } else{ window.close(); } }
2016-01-31
举报