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
joe [ Fr, 04 April 2008 02:12 ] [ ID #1935369 ]

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
>
joe [ Fr, 04 April 2008 06:10 ] [ ID #1935375 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » js file not loading in Firefox, Netscape

Vorheriges Thema: To perform scrolling on an Asp.net page
Nächstes Thema: How to populate a field in gridview with data FROM ANOTHER TABLE?