function open(){ var a=confirm("欢迎"); if(a==true) { window.open("www.baidu.com","_blank","width=600,height=400"); } }
数据分析师2017-09-30 22:52:00
window.open("www.baidu.com","_blank","width=600,height=400");Why doesn't it work? -PHP Chinese website Q&A- window.open("www.baidu.com","_blank","width=600,height=400");Why doesn't it work? -PHP Chinese website Q&A
Please watch and learn.