[jQuery] jQuery singleton, across iframes

[jQuery] jQuery singleton, across iframes

<div dir="ltr">Say I have an application that utilizes heavy AJAX, but also uses iframes (same domain). In these iframes, I need access to jQuery. I want to avoid loading another instance of jQuery for each one. Ideally, there would be an event to that I could bind to that would auto-alias the top window's jQuery to any new iframes (or new windows?), or similar. Basically I want to avoid each iframe having to load jQuery and the 50 plugins that I plan to use.
I looked for a plugin that might do this, but couldn't find one. Has anyone faced this situation before?
Thanks,
ken
</div>




    • Topic Participants

    • hello