Logo en.artbmxmagazine.com

Javascript definition

Table of contents:

Anonim

JavaScript is a scripting language (light programming) interpreted by almost all browsers, which allows you to add additional effects and functions to web pages that are included in the HTML standard.

JavaScript was developed by Netscape Corporation for its Navigator 2.0, and due to its simplicity it is still a very useful tool in the elaboration of web pages that have more than just text. Microsoft developed the JScript for its Explorer, which is generally Netscape compatible.

It should be clarified that JavaScript is not a programming language per se. It is a scripting language (scripts or routines). Therefore, it is more like the macros of word processors or spreadsheets. It is not possible to make a complete program with JavaScript. Neither was developed for that, nor the subsequent versions have given it the necessary elements for it.

What is JavaScript for?

In general terms, JavaScript allows us to improve client / server management. A JavaScript script can handle and handle events locally such as:

  • Check the validity of the fields filled in a form Open and close windows Dynamic changes in a page (appearance and contents) Treatment of text strings Arithmetic operations As examples you can see them in our Script Index. It can also be used to perform multiple tasks at once, such as opening a web page and simultaneously viewing a video, playing sound, or running a Java applet.

Since its mission is to expand HTML, JavaScript is a language with some limitations that, indirectly, provide security for the browser.

Thus, for example, JavaScript cannot (does not know) create, read, modify or delete user files, with one exception: cookies. It also lacks mechanisms to establish network connections, at most becoming capable of sending emails or forms.

Where to document

Typing "manual javascript" in any search engine you will get many pages with all kinds of information, although it is worth going to Netscape, which is why they are the parents of the creature.

Is it difficult to learn?

No. It only requires a little attention when setting the parameters of your commands or functions, but it is not complicated to use. In fact, this facility is one of the elements for which it has become so popular and widespread.

Javascript definition