js file not loading in Firefox, Netscape

J

Joe

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
 
J

Joe

This was my mistake. It turned out that I wrote type="jscript" in my page
but in the example below I did it correctly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top