What is JavaScript?

JavaScript is a script-type, prototype object-oriented programming language, mainly used in Web pages.

JavaScript code can be integrated directly into Web pages, for execution therein on the client computer. The Web browser is then responsible for executing these little bits of program called scripts.

Why use JavaScript?

JavaScript is used to control data entered in forms, or to interact with the HTML document (Display/Hide zones).

How is JavaScript activated?

If you are using Internet Explorer 6.0 or a later version

  • Choose Tools, then
  • Internet Options
  • Click the Security tab
  • Select the web content zone: Internet
  • Click on the Custom level button
  • In the “Script” sub-menu
  • Select “Enable” or “Prompt” for the action: Active scripting

If you are using Firefox

  • Choose Tools, then
  • Options…
  • Select the “Content” tab
  • Check the box: “Enable JavaScript”

If you are using Safari

  • Choose Safari, then
  • Preferences…
  • Select the “Security” tab
  • Check the box: “Enable JavaScript”

If you are using Netscape

  • Choose Edit, then
  • Preferences…
  • Select “Scripts and external modules” in the “Advanced” category
  • Check the box: “Enable JavaScript” on the right of the dialog box