Fri Aug 12 01:14:54 2011moses [...] web.com.au - Ticket created
Subject:
Javascript only sends the first value back to exported_func for input arrays
Date:
Fri, 12 Aug 2011 15:14:32 +1000
To:
<bug-CGI-Ajax [...] rt.cpan.org>
From:
"Moses Truong" <moses [...] web.com.au>
When we have an array of inputs in a form, the javascript's exported
function only sends the first value back.
e.g.
<form>
<input name="array[]" value="value1">
<input name="array[]" value="value2">
</form>
When using the javascript function
exported_func(["array[]"], ["result"]);
only value1 gets passed back to the server.