摘要: each循环方式1 $.each(obj,callback)var arr=[11,22,33]//var arr={name:value,name:value}$.each(arr,function(i,j){ console.log(i)//索引、键 console.log(j)//值}) 方式 阅读全文