JavaScript

What is JavaScript ?

 

JavaScript is a cross-platform, object-oriented scripting language. It is a small and lightweight language. Inside a host environment (for example, a web browser), JavaScript can be connected to the objects of its environment to provide programmatic control over them.

JavaScript contains a standard library of objects, such as ArrayDate, and Math, and a core set of language elements such as operators, control structures, and statements.

Core JavaScript can be extended for a variety of purposes by supplementing it with additional objects; for example:

  • Client-side JavaScript extends the core language by supplying objects to control a browser and its Document Object Model (DOM). For example, client-side extensions allow an application to place elements on an HTML form and respond to user events such as mouse clicks, form input, and page navigation.
  • Server-side JavaScript extends the core language by supplying objects relevant to running JavaScript on a server. For example, server-side extensions allow an application to communicate with a database, provide continuity of information from one invocation to another of the application, or perform file manipulations on a server.
  • JavaScript is a lightweight, interpreted programming language.
  • Designed for creating network-centric applications.
  • Complementary to and integrated with Java.
  • Complementary to and integrated with HTML.
  • Open and cross-platform

JavaScript in Internet Explorer

Here are simple steps to turn on or turn off JavaScript in your Internet Explorer −

  • Follow Tools → Internet Options from the menu.
  • Select Security tab from the dialog box.
  • Click the Custom Level button.
  • Scroll down till you find Scripting option.
  • Select Enable radio button under Active scripting.
  • Finally click OK and come out

To disable JavaScript support in your Internet Explorer, you need to select Disable radio button under Active scripting.

JavaScript in Firefox

Here are the steps to turn on or turn off JavaScript in Firefox −

  • Open a new tab → type about: config in the address bar.
  • Then you will find the warning dialog. Select I’ll be careful, I promise!
  • Then you will find the list of configure options in the browser.
  • In the search bar, type javascript.enabled.
  • There you will find the option to enable or disable javascript by right-clicking on the value of that option → select toggle.

If javascript.enabled is true; it converts to false upon clicking toogle. If javascript is disabled; it gets enabled upon clicking toggle.

JavaScript in Chrome

Here are the steps to turn on or turn off JavaScript in Chrome −

  • Click the Chrome menu at the top right hand corner of your browser.
  • Select Settings.
  • Click Show advanced settings at the end of the page.
  • Under the Privacy section, click the Content settings button.
  • In the “Javascript” section, select “Do not allow any site to run JavaScript” or “Allow all sites to run JavaScript (recommended)”.

JavaScript in Opera

Here are the steps to turn on or turn off JavaScript in Opera −

  • Follow Tools → Preferences from the menu.
  • Select Advanced option from the dialog box.
  • Select Content from the listed items.
  • Select Enable JavaScript checkbox.
  • Finally click OK and come out.

To disable JavaScript support in your Opera, you should not select the Enable JavaScript checkbox.

javascript-depositphotos-opt700

Leave a Reply

Your email address will not be published. Required fields are marked *