<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>close()</title> <script type="text/javascript"> function check(){ for(var i=0; i<5;i++){ if(i<5){ var mywin=window.open("http://www.imooc.com"); }else{ mywin.close(); } } } </script></head><body> <input name="button" type="button" onClick="check()" value="点一下试试"/></body></html>
添加回答
举报
0/150
提交
取消