Opened 14 years ago
Closed 14 years ago
#3933 closed bug (duplicate)
Empty attribute selectors
Reported by: | kyleaa | Owned by: | john |
---|---|---|---|
Priority: | major | Milestone: | 1.3.1 |
Component: | selector | Version: | 1.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$("[value=]") or $("[value=]") returns unfilled form elements in 1.2.6, in 1.3 it returns nothing.
Attachments (1)
Change History (5)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
$("[value=]") works in 1.2.6, 1.3 and 1.3.1 as this test case shows:
http://jquery.nodnod.net/cases/77
But $('[value=""]') seems to have stopped working in 1.3.1, returns nothing.
comment:3 Changed 14 years ago by
Using the test case in Safari 3.2.1, the selector finds the field without the value attribute, but the not the one with the empty value.
Changed 14 years ago by
Attachment: | Picture 1.png added |
---|
comment:4 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I'm experiencing the same thing with jQuery 1.3.1
In 1.2.6 I can select all <a> elements without the onclick attribute via:
In 1.3.1 the same expression throws an error. Removing the pair of double quotes returns nothing.