JavaScript: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(rv vandalism)
m (update link)
Line 1: Line 1:
[[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]]!
[[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]]!


Any errors that may occur when the browser tries to run JavaScript will appear in the [[JavaScript Console]].
Any errors that may occur when the browser tries to run JavaScript will appear in the [http://developer.mozilla.org/en/docs/JavaScript_Console JavaScript Console].


==JavaScript is not working==
==JavaScript is not working==

Revision as of 17:03, 7 May 2006

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!

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

JavaScript is not working

To ensure that JavaScript is enabled, check these settings:

Firefox

  • " Options → Content → Enable JavaScript" ("Options → Web Features → Enable JavaScript" in Firefox 1.0.x).

Mozilla Suite

  • "Edit → Preferences → Advanced → Scripts & Plug-ins → Enable JavaScript for → Navigator

Note: The setting to enable JavaScript for the "Mail & Newsgroups" component is disabled by default, for security reasons.