That's possible, but you'll have to take care of passing the right
context everytime:
//main page
//inside the iframe
$ = jQuery = $('iframe')[0].parent.jQuery;
$('#myElement', document); //pass the iframe's document as context
to exemplify, if you were to do this "from the outside":
//main
Is that going to help? The file will probably load little faster (in
this case not as it is an intranet application) but the js file cannot
be cached on the local machine (because of SSL). So the same file will
be loaded every time the page refreshes.
However, if there was a way I could load the
If you're concerned about the size of jQuery, then why not reference the
file as cached on Google's servers?
http://code.google.com/apis/ajaxlibs/
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of jojobar
Sent: Monday, March 02, 2009 2:
3 matches
Mail list logo