Array
(
[0] => Array
(
[price_id] => 1
[website_id] => 0
[all_groups] => 1
[cust_group] => 32000
[price_qty] => 2
[price] => 90.0000
)
[1] => Array
(
[price_id] => 2
[website_id] => 0
[all_groups] => 1
[cust_group] => 32000
[price_qty] => 5
[price] => 80.0000
)
.......
)
如果我想将 [price_qty] 和 [price] 值传递给 jquery 代码,则数组元素可能是一个或两个或更多。我应该怎么做?有人可以给我举个例子吗?谢谢你