Hi,
I am told to form an external javascript, so I form a text file and end
it with .js. (jxt1.js) This script is very simple:
function a_message()
{
alert('I came from an external script! Ha, Ha, Ha!!!!');
}
Next, I form a HTML page which is supposed to access that external .js!
Between the heads, I type:
<SCRIPT language="JavaS cript" SRC="jxt1.js"></SCRIPT>
So, I'm supposed to be all set up. When I access the page, nothing happens.
When I click on the script.js, to see it and edit it, nothing happens. My
question is how do i run an external javascript and click on it to view and
edit it when my OS is XP Pro? I know this seems very basic but please
answer.
I am told to form an external javascript, so I form a text file and end
it with .js. (jxt1.js) This script is very simple:
function a_message()
{
alert('I came from an external script! Ha, Ha, Ha!!!!');
}
Next, I form a HTML page which is supposed to access that external .js!
Between the heads, I type:
<SCRIPT language="JavaS cript" SRC="jxt1.js"></SCRIPT>
So, I'm supposed to be all set up. When I access the page, nothing happens.
When I click on the script.js, to see it and edit it, nothing happens. My
question is how do i run an external javascript and click on it to view and
edit it when my OS is XP Pro? I know this seems very basic but please
answer.
Comment