nevadaflyfisher
Programmer
Greetings,
I'm new to JavaScript, but this problem seems ridiculously simple and I'm stumped. I've tried a few suggestions from other posts with no success.
I'm using IE6 on Win2K Pro and trying to execute a function in an external .js file. I double-checked to ensure that active scripting is enabled in the IE's security settings.
In an effort to oversimplify things, I created test.js with the following code:
I call it from within the body of another HTML page:
I also tried calling it from the document head without success.
I've tried a simple
statement in test.js and it works just fine.
Any idea as to what the heck might be wrong with calling the function?
TIA!
I'm new to JavaScript, but this problem seems ridiculously simple and I'm stumped. I've tried a few suggestions from other posts with no success.
I'm using IE6 on Win2K Pro and trying to execute a function in an external .js file. I double-checked to ensure that active scripting is enabled in the IE's security settings.
In an effort to oversimplify things, I created test.js with the following code:
Code:
function Howdy()
{
alert ("Howdy!")
}
I call it from within the body of another HTML page:
Code:
<script language="javascript" type="text/javascript" src="test.js"></script>
I also tried calling it from the document head without success.
I've tried a simple
Code:
document.write("Howdy")
Any idea as to what the heck might be wrong with calling the function?
TIA!