1) Javascript stuff should not go into the cgi-bin directory. It should either be in the html directory, or a subdirectory under html. In other words, if you have an html file containing a line like src="script.js", script.js needs to be in the same directory as the html (just like image files in IMG src tags).
2) Java and javascript are two totally different things - it is unfortunate that they have similar names. Installing java will not help your javascript in any way, shape, or form.
3) Javascript is an interpreted language, but the interpreter is not on your server - it's built into the client-side browser. Since different browsers have slightly different implementations, it can be difficult to write javascript that does the same thing on multiple platforms.
|