Bug Tracker

Opened 13 years ago

Closed 12 years ago

#6023 closed bug (fixed)

el.find('[readonly]') does not work

Reported by: jackolo Owned by: john
Priority: critical Milestone: 1.4.2
Component: selector Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:


For this DOM:

<div id="mydiv"><input id="input1" readonly></div>

The second statement should also find 1 element:

$("#mydiv [readonly]").length == 1

$("#mydiv").find("[readonly]").length == 0

Unless I'm missing something.

Change History (3)

comment:1 Changed 13 years ago by john

Status: newassigned

comment:2 Changed 12 years ago by timmywil

http://jsfiddle.net/timmywil/XTTyr/1/ I think this bug can be closed.

comment:3 Changed 12 years ago by danheberden

Keywords: find removed
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.