JavaScript is a programming language that was created for the purpose of providing HTML authors a tool to optimize web pages. This javascript, despite the name similarity apart from a syntactic similarity little in common with the Java language. The programming language is embedded in Web pages and transmit it to the browser.
In September 1995, built in the previous version of Netscape Navigator 2.0 browser, a scripting language called live script, which could, for example, input into forms by users check before sending. It was developed by Brendan Eich and is considered a forerunner of today’s JavaScript. In December 1995, co Netscape and Sun Microsystems and as a result of this cooperation creates JavaScript 1.0.
Unlike other programming languages such as PHP activate JavaScript language is used on the client side, which means that it is usually in the web browser itself and not on that server. Thus, for example, content is generated, change their appearance at the user’s actions, such as the color change of a link when the cursor is moved over it. In general, the language used is open-Ã used by other browser windows, which made them unpopular with many Internet users because of unwanted advertising windows were controlled with it.
In addition, form entries are checked before they are sent to the server, it can be made clearer by using pull-down menus navigation bar and a site operator can find out about so-called “Browser Sniffing, was visited by his side in what browser. We can also provide websites with dynamic content and JavaScript is often used as a programming language for animation and games.
In recent years, some came on Javascript frameworks (Mootools, JQuery, Prototype, etc.) that simplify the use of Javascript for developers because they are mostly used, effects and functions programmed and make available standardized.
Critics of Javascript that you hide with the language the source code of web pages and websites, prevent save and copy images or entire pages and browser windows open accidentally, and can include changing their size. In addition, the technology is not accessible, because not as many screen readers can handle it. This is why web sites should always acuh work with Javascript turned off.