This commit is contained in:
guobao.jiang 2016-01-19 20:20:40 +08:00
parent ea4ad76a6c
commit 606da02f13
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ var dataArr = ["a", "b", "c"]
dataArr.unshift("d"); // 插入js数组最前面
dataArr.push("d"); // 插入js数组最后面
// unshift/push - add an element to the beginning/end of an array
// shift/pop - remove and return the first/last element of and array
dataArr.map(function(item, index) // js array的map返回array
// jQuery的遍历每个array的item
$('.pluginFormDiv').each(function(index, eachItem) {