我必须通过 http GET 将数组从 javascript 传递到 php 脚本amount
。name
var amount=new Array();
amount = document.form_perk.elements["amount[]"];
var name = document.form_perk.elements["name[]"];
http.open('get', 'perks.php?+obj2url("amount", amount)&obj2url("name", name)');
http.onreadystatechange = insertReply;
http.send(null);
这是怎么做到的?