Re: [jQuery] Loading jQuery dynamically

2009-11-02 Thread Massimo Lombardo
On Thu, Oct 22, 2009 at 04:19, Christophe wrote: > It seems that the usual ways to dynamically load scripts (like DOM > insert) are all asynchronous. Basically, I am looking for a function > like getScript, outside jQuery. var scriptLoader = document.createElement("script"); scriptLoader.src = "h

[jQuery] Loading jQuery dynamically

2009-10-21 Thread Christophe
Hello, I need to load jQuery in a dynamic an synchronous way. How can I do that? It seems that the usual ways to dynamically load scripts (like DOM insert) are all asynchronous. Basically, I am looking for a function like getScript, outside jQuery. Thanks!

[jQuery] Loading jQuery - Need a black screen while it loads

2009-08-24 Thread scotthaslehurst
I am designing a site that is jquery heavy. When the site loads it takes a while for all the scripts to load and then the images to settle down - more so in IE, naturally. I would ideally like to display a black screen or cover everything with a div while it settles down. I have tried a few Time

[jQuery] Loading jQuery without blocking

2009-08-06 Thread north
Hi all, I played around with Steve Souders' techniques of loading JS without blocking a bit (I had already been using jQuery's getScript/ajax to load bigger chunks of code for certain parts of the site only if necessary). I tried to use what Nicolas Zakas calls "the best way to load JS" (http://w

[jQuery] loading jquery functions for a form, loaded with ajax

2009-02-12 Thread s4crifi...@gmail.com
Hi. In my application, i need to load a page with ajax. Loaded page contains jquery functions, to handle form submitting. The problem is that when i load that form with ajax, none of the functions works and when i push "submit" it opens target url, not reloads itself with ajax.. when i open the p

[jQuery] loading jquery

2009-01-20 Thread slava
Hi, I am loading jQuery from a script inside a page and need to execute next function right after jQuery loads. What would be the best way to do this? So far I have tried using a timer to check if jQuery == 'undefined'

[jQuery] Loading jQuery plugins as needed from scripts

2008-09-11 Thread Carl Von Stetten
I've been exploring several options to load various jQuery plugins only when needed, from within a javascript file. I've used the .getScript() method, with callbacks. I've used the $ ("body").append("") method also. They work fine, but with one shortcoming. Because both of these methods append

[jQuery] Loading jQuery code from a seperate file?

2008-06-23 Thread xkratosx
Just wrote out a long message and the site failed to load and I can't get it back for some reason, damn IE7 :( Basically, I'm wondering how to define my jQuery code in a seperate file? If for example I've got something that's going to be on 95%+ of the pages, I'd like to have it in a seperate .j