i到5,才执行函数,越界了
将函数里面的arrDivNew4[i]改成this
for给元素绑定onclick时发生的闭包问题
猜你喜欢
转载自blog.csdn.net/weixin_48727085/article/details/107890060
今日推荐
周排行