for(var i=0;i<5;i++){????aBtn[i].onclick=function (){????alert(i);????}}為什么每次彈出來都是5?
for循環事件綁定
去看天荒地老
2016-08-11 19:41:32