Re: [jQuery] Loading external libraries from dynamically loaded content

2006-11-10 Thread Choan C. Gálvez
On 11/10/06, Dave Methvin <[EMAIL PROTECTED]> wrote: > > As the loading of both scripts is asynchronous, the second one > > could be started before the neccessary functions are available. > > Any idea or workaround? > > If you can attach a readyState handler to the first script, that can be your >

Re: [jQuery] Loading external libraries from dynamically loaded content

2006-11-10 Thread Dave Methvin
> As the loading of both scripts is asynchronous, the second one > could be started before the neccessary functions are available. > Any idea or workaround? If you can attach a readyState handler to the first script, that can be your cue to run the function or load the second script that needs t

[jQuery] Loading external libraries from dynamically loaded content

2006-11-10 Thread Choan C. Gálvez
Hi all. I'm working on a project which will load content dynamically from files developed by an external team. These files can include scripting. * If the script is included in the loaded content, the `evalScripts` will suffice. * If the script is referenced from the loaded content (), the `eval