[jQuery] Re: dynamically loading javascript files (getScript() behavior)

2008-03-29 Thread Christof Donat
Hi, > Still, I've been using another approach that seems to work fine (at > least) in FF and IE. Insted of getting the file and evaluating it, I > just add a new SCRIPT element to the HEAD of the document with the > specified URL. There are Safari Versions that don't load scripts that way. For n

[jQuery] Re: dynamically loading javascript files (getScript() behavior)

2008-03-29 Thread Ariel Flesler
That's how jQuery loads scripts from remote domains now, allowing cross-domain requests. Cheers -- Ariel Flesler http://flesler.blogspot.com/ On Mar 28, 12:49 pm, sotretus <[EMAIL PROTECTED]> wrote: > Guys, > > I was looking the code for the getScript() function and I saw that > when the javas