https://www.cnblogs.com/yuanchenqi/articles/5663118.htmlJquery的两种点击方式 li = [1,2,3,4,5,6,7,8,9]; $.each(li,function (a,b) { console.log(a,b) $("").each(function () { //遍历每一项 $(this.html()); }) })