I have a remote .js file that I want to call with an onclick() event handler. Is this possible or am I wasting my time?
In the header, put <script src="http://yoursite.com/remote.js" type="text/javascript"></script> - or are you saying that when the page loads you don't know which .js file you'll need?
Hm... I've never tried this. I would just do a simple hello world function that you know works and try it. But make sure you try it in all the browsers. There were changes since IE 6 SP1 that disabled a lot of the remote scripting capabilites for security reasons.
travisbishop, your question still doesn't make sense. a javascript file cannot be "called". do you want to include a javascript file dynamically? or do you want to call a function defined in a javascript file in a remote server? if it's the latter, it's not possible. the browser needs to download the script before it can do anything with it.