JavaScript
From DesigningPatterns
Contents |
General Characteristics
- Javascript was not based on Java in any way. It is a completely separate/dissimilar programming language. It was created by Netscape (not Sun).
- Javascript is an event-driven scripting language. It is referenced in html and always run on the client side (by the client's browser).
- Javascript is used primarily to manipulate the html page that is displayed in the browser. This is done through manipulating a standard set of global objects available w/in Javascript.
- The Window object is the 1 global object available w/in Javascript. The Window object is composed of a number of useful objects that can be accessed by Javascript.
- The Document object is the most important child object of the Window object; It represents a tree structure that describes the document being displayed in the browser.
- Events include: onclick, onmouseover, onmouseout, onfocus, onblur, onload, onunload
Guidelines
Links
- Javascript Tutorial: http://www.daaq.net/old/javascript/index.php
