...

View Full Version : Calling External js file from document.write



Alann
10-28-2003, 10:44 PM
How do I call an external file from document.write?

document.write(<a href=''; src='message1.js'><\/a>) or what?

adios
10-28-2003, 10: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.

liorean
10-28-2003, 11:08 PM
Have a look at <http://codingforums.com/showthread.php?s=&threadid=17728#post88001>.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum