ITP - JavaScript
Chapter 5: Scripts and HTML Documents
Where Scripts Go in Documents
The <SCRIPT> tag
Tag positions
Handling older browsers
<SCRIPT LANGUAGE="JavaScript"> <!-- statements // -->
JavaScript Statements
Defining or intializing a variable
Assigning a value to a property or variable
Changing the vaule of a proerty or variable
Invoking an object's method
Invoking a function routine
Making a decision
When Script Statements Execute
While a document loads
Immediately after a document loads
In response to user action
When called by other script statements
Scripting versus Programming
Ichiro Fujinaga
1998.09.10