js file not loading in Firefox, Netscape
I have the following line in the head section:
<head>
<script language="javascript" type="text/javascript"
src="myscript.js"></script>
....
</head>
This works fine in IE and Safari. I can call the createWindow function
defined in the js without a problem.
In Firefox and Netscape I get an error "createWindow is not defined".
Is there any way I can debug this to see if it's really being loaded? I use
the Error Console to see the not defined error.
Thanks,
Joe
Re: js file not loading in Firefox, Netscape
This was my mistake. It turned out that I wrote type="jscript" in my page
but in the example below I did it correctly.
"Joe" <jbassking [at] noemail.noemail> wrote in message
news:Oag6mjelIHA.5280 [at] TK2MSFTNGP02.phx.gbl...
>I have the following line in the head section:
> <head>
> <script language="javascript" type="text/javascript"
> src="myscript.js"></script>
> ...
> </head>
>
> This works fine in IE and Safari. I can call the createWindow function
> defined in the js without a problem.
>
> In Firefox and Netscape I get an error "createWindow is not defined".
>
> Is there any way I can debug this to see if it's really being loaded? I
> use the Error Console to see the not defined error.
>
> Thanks,
> Joe
>