Skip to main content

Bug Tracker

Side navigation

#6023 closed bug (fixed)

Opened February 04, 2010 09:11AM UTC

Closed March 30, 2011 08:23PM UTC

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.

Attachments (0)
Change History (3)

Changed February 06, 2010 05:01PM UTC by john comment:1

milestone: 1.4.11.4.2
status: newassigned

Changed December 22, 2010 03:39PM UTC by timmywil comment:2

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

Changed March 30, 2011 08:23PM UTC by danheberden comment:3

keywords: find
resolution: → fixed
status: assignedclosed