Ticket #3990 (closed bug: fixed)
1.3.1 selector bug - $('input[value=""]')
| Reported by: | redsquare | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3.2 |
| Component: | selector | Version: | 1.3.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
This works in 1.2.6 http://pastebin.me/497d8dc0b9e3a
In 1.3.1 http://jsbin.com/unopa causes an error in firebug.
Attachments
Change History
comment:2 Changed 4 years ago by glavic
<form>
<input type="text" value="" /> <input type="text" />
</form>
Shouldn't $('form input[value=""]') select both inputs? And not just first one?
comment:3 Changed 4 years ago by dz
Perhaps -- but at the very least, it shoudln't throw a syntax error. [value=""] seems properly formed to me.
comment:4 Changed 4 years ago by glavic
Yes, [value=""] now works in nightly version. But how can I select inputs that have empty values, and inputs that don't have value attribute?
comment:7 Changed 4 years ago by thorn
Where can I get the nightly version? Page http://docs.jquery.com/Downloading_jQuery contains links to outdated nightly build only (Sun, 21 Dec 2008).
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

