PDA

View Full Version : JavaScript FireFox Problem



ThE_mASk
10-16-2005, 02:16 PM
Tell me how to make this work in FireFox:

<SCRIPT SRC="include\noRightButton.js" language="JavaScript1.2"></SCRIPT>

if I put the file "noRightButton" in the root directory of the site and put just this in the HTML code:

<SCRIPT SRC="noRightButton.js" language="JavaScript1.2"></SCRIPT>

It works, but I don't want to move it outside the "include" directory.

What should I do ?

Twey
10-16-2005, 02:31 PM
Tell me how to make this work in FireFox
"Please" would add a little something...
Anyway, the problem is that you have used a backslash. You should never use backslashes in paths. Use a forward slash instead.