Side navigation
#13461 closed bug (notabug)
Opened February 15, 2013 08:41PM UTC
Closed February 15, 2013 08:56PM UTC
$("#myform :input").not("[value='']").serialize() does not exclude empty inputs
Reported by: | scharleswatson@gmail.com | 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
Attachments (0)
Change History (1)
Changed February 15, 2013 08:56PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
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.