Ticket #8405 (closed enhancement: patchwelcome)
Enhance jQuery.sub to work in its own window/document
|Reported by:||musicisair||Owned by:|
Description (last modified by ajpiano) (diff)
It would be nice if we could pass a DOM Window or Document to jQuery.sub in order to force selector context to any document we want WITHOUT having to $(document).find("selector") or $("selector", document)
Basically, we could then copy jQuery into an iframe or window (window.open) and execute it in its own context without the cost of loading and initializing.
In certain scenarios I could see how support tests may need to be re-run if the document-mode isn't the same.
On a side note: any hints on to implementing this right now as a plugin would be much appreciated.
- Priority changed from undecided to low
- Status changed from new to open
- Component changed from unfiled to core
- Milestone changed from 1.next to 1.7