Opened 13 years ago
Closed 13 years ago
#5079 closed bug (worksforme)
multiple="multiple" selects with no selections are not serialized using jQuery.serialize
Reported by: | sharwood | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | ajax | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This problem seems to be in the serializeArray method. If no selection is made then it's value is null and ignored.
Change History (2)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Component: | unfiled → ajax |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
The spec seems pretty clear that select multiple with no elements selected are not considered successful, and therefore should not be serialized.
Note: See
TracTickets for help on using
tickets.
What would be the desired behavior for that case? Do you have a standards reference for it?