请问怎么在这个页面关闭刚才打开的新窗口,返回值调怎么调用?
function opwin(){ alert("欢迎来到慕课网"); var win= window.open("http://www.imooc.com","_blank","width=600,height=400"); return win; } function closewin(){ opwin().win.close(); }
function opwin(){ alert("欢迎来到慕课网"); var win= window.open("http://www.imooc.com","_blank","width=600,height=400"); return win; } function closewin(){ opwin().win.close(); }
2016-06-23
举报