Bug Tracker

Opened 7 years ago

Closed 7 years ago

#14082 closed bug (notabug)

No find() in top level

Reported by: alexpts@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 2.0.2
Keywords: Cc:
Blocked by: Blocking:

Description

Method find() finds no element in the upper portion of the documentfragment level.

Demo:

http://jsfiddle.net/alexpts/UVRHS/2/ http://jsbin.com/iwetit/3/

Change History (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: notabug
Status: newclosed

See the docs at http://api.jquery.com/jquery/#jQuery-html-ownerDocument .

You can't pass in an entire document including doctype and head/body tags. They're stripped out in browser-dependent ways.

http://jsfiddle.net/UVRHS/4/

Followup to the forums please.

Note: See TracTickets for help on using tickets.