0
我试图让这个创建多个阵列:使用功能“每个”从jQuery的
myArray = [
[value1,value2,value3],
[value1,value2,value3],
[value1,value2,value3]
];
从jQuery的每个()使用功能,但我坚持,即使看到了网络上的例子:/帮帮我。
$('myRepeatingTag').each(function(){
//I want to increment myArray[] here with many new values/subvalues
});
您是否在寻找'myArray.push([new_value1,value2,value3])'? – JCOC611
你在坚持什么?这在理论上应该用'push()'方法简单明了 –
值来自哪里? – Andy