Opened 12 years ago
Closed 12 years ago
#7826 closed bug (worksforme)
.serialize() and and initial empty string on input
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.6 |
Component: | unfiled | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When a hidden input (perhaps others but only tested with hidden) starts with an empty string value and then changed to some other valid value in js, .serialize() on the form does not recognize the new value in a subsequent event. However, when the hidden input starts with a non-empty string value, the new value is recognized.
Note: See
TracTickets for help on using
tickets.
This is simply not true.
http://jsfiddle.net/rwaldron/DkuZB/