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
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!
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
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
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
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'
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
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
8 matches
Mail list logo