Side navigation
#5079 closed bug (worksforme)
Opened August 19, 2009 10:25PM UTC
Closed June 12, 2010 07:07PM UTC
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.
Attachments (0)
Change History (2)
Changed August 20, 2009 02:41AM UTC by comment:1
Changed June 12, 2010 07:07PM UTC by comment:2
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.
What would be the desired behavior for that case? Do you have a standards reference for it?