$.each()用法 遍历对象 $.each(object,function(name,value){ this: 当前属性对象 name: 当前属性的名称 value: 当前属性的值 }) 遍历数组 $.each(Array,function(index,value){ this: 当前元素 index: 当前元素下标 value: 当前元素的值 })