JavaScript: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (cleanup)
Line 1: Line 1:
==What is Javascript?==
==What is Javascript?==
[[wikipedia:JavaScript | Javascript]] is a programming language supported by many browsers which allows web page authors to have greater control over the user’s browsing experience. Javascript is often used to create fly-out menus, invoke pop-up windows, validate form data and so on.
[[wikipedia:JavaScript | JavaScript]] is a programming language supported by many browsers which allows web page authors to have greater control over the user’s browsing experience. JavaScript is often used to create fly-out menus, invoke pop-up windows, validate form data and so on.


Please note that [[Javascript is not Java]]!
Please note that [[JavaScript is not Java]]!


==Javascript is not working==
==JavaScript is not working==
Ensure you have enabled Javascript in your application. On [[Firefox]], you can do this via "Tools -> Options -> Web Features (-> Advanced)".
Ensure you have enabled Javascript in your application. In [[Firefox]] 1.0.x, you can do this via "Web Features (→ Enable JavaScript)" in [[Menu differences in Windows, Linux, and Mac | Options]]. In Firefox 1.5 and above, this option is under "Content (→ Enable JavaScript)" in Options.
Version 1.0.6 changed the location to "Edit -> Preferences -> Web Features -> Enable JavaScript []"
 
Any errors that may occur when the browser tries to run JavaScript will appear in the [[JavaScript Console]].

Revision as of 03:49, 17 August 2005

What is Javascript?

JavaScript is a programming language supported by many browsers which allows web page authors to have greater control over the user’s browsing experience. JavaScript is often used to create fly-out menus, invoke pop-up windows, validate form data and so on.

Please note that JavaScript is not Java!

JavaScript is not working

Ensure you have enabled Javascript in your application. In Firefox 1.0.x, you can do this via "Web Features (→ Enable JavaScript)" in Options. In Firefox 1.5 and above, this option is under "Content (→ Enable JavaScript)" in Options.

Any errors that may occur when the browser tries to run JavaScript will appear in the JavaScript Console.