[jQuery] Re: Is jquery suitable for this...

2009-03-02 Thread ricardobeat
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

[jQuery] Re: Is jquery suitable for this...

2009-03-02 Thread jojobar
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

[jQuery] Re: Is jquery suitable for this...

2009-03-02 Thread Andy Matthews
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: