Opened 10 years ago
Closed 10 years ago
#13461 closed bug (notabug)
$("#myform :input").not("[value='']").serialize() does not exclude empty inputs
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$("#myform :input[value!=]").serialize() doesn't work for this either. had to go back to using jquery 1.8
Note: See
TracTickets for help on using
tickets.
doesn't work
I will assume you were expecting that the
value=''
would select inputs that were currently empty, as opposed to inputs that had specified an empty initial value. That is not per spec and why it was changed. But that is my assumption of what you mean by "doesn't work" so I will close this. Try the jQuery Migrate plugin with 1.9 if you are not using it already.