Skip to main content

Bug Tracker

Side navigation

#1352 closed bug (invalid)

Opened July 04, 2007 02:25AM UTC

Closed July 04, 2007 05:28PM UTC

Last modified March 15, 2012 04:38PM UTC

[@checked] CSS style selector causes "Object doesn't support this property or method"

Reported by: pocketninja Owned by:
Priority: minor Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: input checkbox selector Cc:
Blocked by: Blocking:

When getting all checkboxes contained within a div, which have a checked value, IE 6 and 7 return a vague error when there are checkboxes which haven't had the attribute checked set in the HTML source:

"Object doesn't support this property or method"

JS code is:

var selected = $('div#divID input[@type=checkbox][@checked]');

Can work around by using $.browser.msie with $('div#divID input[@type=checkbox]') and iterating through each checkbox.

Apologies if I selected the wrong Component for the ticket! =)

Attachments (0)
Change History (2)

Changed July 04, 2007 04:00AM UTC by pocketninja comment:1

Please close this ticket.

Turns out the issue was caused by the use of a reserved word outside of jQuery itself, in a completely separate .js file.

Strange that the error was reported as being in the jQuery code...


Changed July 04, 2007 05:28PM UTC by john comment:2

resolution: → invalid
status: newclosed