Hi there,
I'm having a strange problem running a simple piece of javascript. When I run embed it in the html file, it works fine. When I move the code to an external file and call it, nothing appears on the page.
The code that in the javascript file is simply
And I am calling it like this:
Am I calling it incorrectly? I'm confused....
Many thanks for any help.
prgmrgirl
I'm having a strange problem running a simple piece of javascript. When I run embed it in the html file, it works fine. When I move the code to an external file and call it, nothing appears on the page.
The code that in the javascript file is simply
Code:
document.write("This line is written from an external source.")
And I am calling it like this:
Code:
<script language="javascript" src="ExternalFile.js"></script>
Am I calling it incorrectly? I'm confused....
Many thanks for any help.
prgmrgirl