jquery each 使用 $("#选择器").each(function(index,obj){ //该属性值= obj.属性 var id = obj.id var name = obj.name //return //跳出循环 })