> > That looks really dodgy, sorry.
> >
> > What if the browser downloads script and script2 at the 
> > same time, and script2 finishes first?
> 
> It doesn't. script2 is not downloaded at all, it is like a 
> inline script.

Ah, I wasn't paying close enough attention to the code. :-)

> As you might know scripts are evaluated in the 
> order they are in the HTML code, that is that script will be 
> evaluated before script2 is.

Interesting - is that guaranteed even when the scripts are added
dynamically?

-Mike


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to