Side navigation
#3933 closed bug (duplicate)
Opened January 21, 2009 07:46AM UTC
Closed February 08, 2009 07:08PM UTC
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 (4)
Changed January 22, 2009 07:08AM UTC by comment:1
Changed January 28, 2009 08:13PM UTC by comment:2
$("[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.
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:
jQuery('a[onclick=""]')
In 1.3.1 the same expression throws an error. Removing the pair of double quotes returns nothing.