update
This commit is contained in:
parent
ea4ad76a6c
commit
606da02f13
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue