Side navigation
#9092 closed bug (invalid)
Opened May 04, 2011 10:24AM UTC
Closed July 12, 2011 03:41PM UTC
: in checkbox id
Reported by: | laysoft | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.next |
Component: | selector | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have two checkboxes it's ids are: "x" and "x:y". I'd like to check checkboxes which id's starts "x:", but the code ( http://jsfiddle.net/laysoft/dmbXh/2/ ) selects both checboxes not only second. Under jQuery 1.4.4 it works good, above versions not. Tested under FF4, Chrome11, IE9, Opera 11.
Attachments (0)
Change History (2)
Changed May 04, 2011 02:26PM UTC by comment:1
component: | unfiled → selector |
---|---|
priority: | undecided → high |
status: | new → open |
Changed July 12, 2011 03:41PM UTC by comment:2
resolution: | → invalid |
---|---|
status: | open → closed |
As of jQuery 1.5, attribute selectors require the use of quotes around the attribute (or beginning of attribute) string. When quotes are used, the example works as expected:
Confirmed.