JavaScript

JavaScript (abbreviated JS) is a programming language designed for use in browsers with the goal of do the web pages effectively. JS is ECMAScript revision.

Code using JavaScript — scripts. They connect to HTML. This is their uniqueness and that they are supported by almost all browsers. Immediately after page uploaded, scripts begin to work.

The main applications of JS:

  • Creating HTML tags, delete, modify existing, etc;
  • Reaction to the manipulation, processing mouse clicks, cursor movement and actions with the keyboard;
  • Sending requests to servers and receiving information without page refresh;
  • Getting and setting cookie, the request information message output;
  • JavaScript is a serious programming language, but browsers impose on it certain limitations. Explanation — the need to preserve the safety of the user and his personal information;
  • Many of the actions of JS is limited to one work window and a page.

Consider what can not be done with the use of scripts:

  • JS has no direct access to the operating system, so can't read and make copies of the files on your hard disk;
  • JS does not interact with more than one tab. Derogation from the rules are the tabs that were opened by the program (identical to the Protocol or domain).