JavaScript


Also found in: Dictionary, Thesaurus, Medical, Legal, Financial, Acronyms, Wikipedia.

JavaScript

[′jäv·ə‚skript]
(computer science)
A scripting language that is added to standard HTML to create interactive documents.

JavaScript

(language)
(Formerly "LiveScript") Netscape's simple, cross-platform, World-Wide Web scripting language, only very vaguely related to Java (which is a Sun trademark). JavaScript is intimately tied to the World-Wide Web, and currently runs in only three environments - as a server-side scripting language, as an embedded language in server-parsed HTML, and as an embedded language run in web browsers where it is the most important part of DHTML.

JavaScript has a simplified C-like syntax and is tightly integrated with the browser Document Object Model. It is useful for implementing enhanced forms, simple web database front-ends, and navigation enhancements. It is unusual in that the scope of variables extends throughout the function in which they are declared rather than the smallest enclosing block as in C.

JavaScript originated from Netscape and, for a time, only their products supported it. Microsoft now supports a work-alike which they call JScript. The resulting inconsistencies make it difficult to write JavaScript that behaves the same in all browsers. This could be attributed to the slow progress of JavaScript through the standards bodies.

JavaScript runs "100x" slower than C, as it is purely interpreted (Java runs "10x" slower than C code). Netscape and allies say JavaScript is an "open standard" in an effort to keep Microsoft from monopolising web software as they have desktop software. Netscape and Sun have co-operated to enable Java and JavaScript to exchange messages and data.

See also VBScript.

Usenet newsgroup: news:comp.lang.javascript.

Mailing List: <majordomo@obscure.org> ("subscribe javascript" in body).

JavaScript

A widely used programming language that is embedded in most Web pages. Supported by all Web browsers, it enables interactive functions to be added to Web pages, which are otherwise static. JavaScript evolved from Netscape's LiveScript language.

JavaScript Is Plain Text
JavaScript source code is plain text that resides between Begin-Script and End-Script HTML tags in the Web page. Along with myriad other functions, JavaScript is used to enable interactive page elements such as navigation buttons and drop-down menus. It is also used to identify the page to analytics servers that capture traffic statistics. See JScript, Dojo and VBScript.

JavaScript Vs. Java
Because JavaScript is executed merely by retrieving a page from any website, it cannot be used to access local files and probe the user's computer (JavaScript is "sandboxed"). Java, on the other hand, is a full-blown programming language that can manipulate any resource in the computer. Although there are commonalities, JavaScript is not a subset of Java, but they may be used together. For example, JavaScript could display a data entry form and validate the input, while a Java program in the server processes the information. In addition, JavaScript remains as human-readable text, while Java source code is converted into a binary format (see bytecode). See Java and servlet.


JavaScript Is Always Visible
JavaScript code is embedded in a Web page and easily viewed as in this Opera browser on a Mac. The blue text is the HTML page rendering language, and the brown is JavaScript. In this example, the JavaScript causes navigation buttons to change color when the mouse rolls over them and to jump to another page when clicked. See HTML.
References in periodicals archive ?
With the XS6 engine in KinomaJS, we are bringing the latest advances in JavaScript to embedded developers before they arrive on the web," said Peter Hoddie, Kinoma VP at Marvell.
The "paint" tracking approach to monitoring JavaScript could be useful for more than just history sniffing, Lerner explained.
NET developers migrating to HTML5, Wijmo 5 provides a familiar experience by having created ICollectionView in JavaScript.
I'm looking forward to providing more quality content in the years to come and continuing to develop Let's Code JavaScript as a premier destination for professional web developers.
As the key scripting language for the web, JavaScript is supported by every modern web browser and allows developers to create client-side scripts that take advantage of features such as animating the canvas tag and enabling client-side storage and application caches.
Evolving JavaScript - There was significant growth in projects focused on evolving the development frameworks, platforms and tooling around JavaScript; in fact, five of the top 10 picks this year are JavaScript-related projects.
TeeChart's Chart for Javascript is written in 100% Javascript to support the HTML5 Canvas.
Firefox renders JavaScript three times faster than Opera 10 and more than four times faster than Microsoft's Internet Explorer 8 (IE8).
Two new guides provide excellent JavaScript References for CS2 users working with the programs.
New framework by Telerik offers everything developers need for development of HTML5, JavaScript sites and apps
The third updated edition of Javascript Step by Step is a pick for intermediate Java users who already have a grasp of the basics, and who want to expand their knowledge through step-by-step directions.
com)-- Spline Technologies Corporation announces a major update to SplineTech JavaScript Debugger PRO, an independent standalone Web development tool that enables Web developers to easily edit and debug JavaScript and VBScript inside HTML and AJAX pages, without the need for any add-ons, plugins or changes of their code to handle the debugging process.