Opened 13 years ago
Closed 12 years ago
#5909 closed bug (invalid)
can't post multiple values as of 1.4 any more
Reported by: | stellsmi | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4.1 |
Component: | ajax | Version: | 1.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I try to post this,
$.post("test.php", { 'choices[]': ["Jon", "Susan"] });
but in rails, it sees the result as an array of 2 nils
[nil, nil]
I rolled back to 1.3.2, and it worked
Change History (2)
comment:1 Changed 13 years ago by
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing after 4 months with no feedback from the original submitter. Reopen this bug if the problem persists.
Note: See
TracTickets for help on using
tickets.
There were some changes in handling of array parameters in jquery 1.4: http://api.jquery.com/jQuery.param/
Have you tried omitting the [] from the choices parameter, like this? $.post("test.php", { 'choices': ["Jon", "Susan"] });