Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 11 years ago

#1352 closed bug (invalid)

[@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! =)

Change History (2)

comment:1 Changed 16 years ago by pocketninja

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...


comment:2 Changed 16 years ago by john

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.