Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the CGI-Ajax CPAN distribution.

Report information
The Basics
Id: 70223
Status: new
Priority: 0/
Queue: CGI-Ajax

People
Owner: Nobody in particular
Requestors: moses [...] web.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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>
Download (untitled) / with headers
text/plain 330b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.