Bug Tracker

Opened 10 years ago

Closed 9 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:

Description

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 10 years ago by john

Milestone: 1.4.11.4.2
Status: newassigned

comment:2 Changed 9 years ago by timmywil

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

comment:3 Changed 9 years ago by danheberden

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