[jQuery] Re: Loading remote JavaScript

2007-08-21 Thread Sam Collett
On Aug 21, 2:19 pm, Christof Donat <[EMAIL PROTECTED]> wrote: > Hi, > > > I'm aware of that method, but I want a callback to find out what > > content type was loaded, display it if text/html or execute it if text/ > > javascript. > > $('http://example.com/myscript.js"; type="text/javascript">

[jQuery] Re: Loading remote JavaScript

2007-08-21 Thread Christof Donat
Hi, > I'm aware of that method, but I want a callback to find out what > content type was loaded, display it if text/html or execute it if text/ > javascript. $('http://example.com/myscript.js"; type="text/javascript">'). appendTo('head'); $('