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

 

posted on 2013-05-10 09:21  饭菜糖衣  阅读(114)  评论(0编辑  收藏  举报