View Full Version : Calling External js file from document.write
10-28-2003, 09:44 PM
How do I call an external file from document.write?
document.write(<a href=''; src='message1.js'><\/a>) or what?
10-28-2003, 09:50 PM
You'll need to give a better description of what you want to do.
You don't 'call' external .js files from anywhere; you load them. If they're loaded, their data is available to your scripts - if not, not.
You can download files on demand, but that doesn't sound like what you're referring to.
10-28-2003, 10:08 PM
Have a look at <http://codingforums.com/showthread.php?s=&threadid=17728#post88001>.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.