Skip to main content

Bug Tracker

Side navigation

#5617 closed feature (wontfix)

Opened December 09, 2009 05:22AM UTC

Closed December 09, 2009 07:54AM UTC

feature request: support iframe traversal through selectors

Reported by: paul Owned by: john
Priority: major Milestone: 1.4
Component: selector Version: 1.4
Keywords: Cc:
Blocked by: Blocking:

Currently, the syntax to query iframes looks like this:


which isn't too bad. However, I think another abstraction could really fit into our core philosophy, which is transforming the above into this:

$('#someIframe p').addClass('error');

I think it wouldn't add much overhead to Sizzle / jQuery, a simple check if nodeName equals iframe, and then changing the actual DOM element representation for further queuries down the selector to the contentDocument.

Additionally, make browsing up possible:


Yay / Nay?

Attachments (0)
Change History (1)

Changed December 09, 2009 07:54AM UTC by john comment:1

resolution: → wontfix
status: newclosed