摘要: var obj = { one:1, two:2, three:3}; $.each(obj, function(key, val) { console.log(key);//one two three console.log(val); //1 2 3 }); var arr1 = [ "aaa", "bbb", "ccc" ]; $.each(arr1... 阅读全文
posted @ 2017-01-18 15:43 小猪冒泡 阅读(265) 评论(0) 推荐(0)