Skill: JavaScript
|
Definition
|
A programming language which bears some resemblance to C++. JavaScript programs are inserted into the HTML of a Web page and are executed by a browser. JavaScript contains facilities which include allowing interaction with a user's environment, changing the look of a page, and responding to events such as a mouse being clicked. A typical example of a JavaScript application is changing a graphic when it is clicked. The JavaScript code that does this is attached to the behaviour of mouse clicking: when a mouse clicks, the browser checks where it occurred and if it was within the graphic then the graphic is changed. This is a technique used when developing rollovers, where the appearance of a graphic changes when a mouse passes over it. Contrary to its name, JavaScript bears only a fragmentary resemblance to the Java programming language |
References
|
|
|