Hi, > Is there an easy way to get a remote script and run code when it has > loaded as well as check the content type? $.getScript only works with > those scripts on the same server.
You can use
$('<script src="http://example.com/myscript.js" type="text/javascript">').
appendTo('head');
It should work in most cases, but there are Safari Versions which don't
interpret scripts loaded that way.
Christof

