JavaScriptA Web-Client Scripting Language
Outline
General Remarks
Version History
Java vs. JavaScript
PPT Slide
Performance Issues
JavaScript Scripts
“Hello World” Example
“Hello World” Example (cont’d)
Form Example
Form Example (cont’d)
Events
Event Handlers
Event Handler Examples
JavaScript URLs
The <SCRIPT> Tag
JavaScript Syntax
Variables
Operators
Expressions
Statements
The if Statement
The for Statement
The while Statement
The with Statement
JavaScript Object Model
JavaScript Object Hierarchy
Object Referencing
Window and Frame Objects
Window Properties
Window Properties (cont’d)
Frame Properties
Frame Example
Frame Example (cont’d)
Frameset Documents
Window and Frame Methods
History Object
Location Object
Document Object
Document Properties
Document Methods
Form Objects
Form Properties
Form Methods
Navigator Objects
MimeType Objects
Plugin Objects
Built-in Objects
Array Objects
Array Methods
HTML-reflected Arrays
Boolean Objects
Date Objects
Date Methods
Function Objects
Function Arguments
Math Objects
Math Properties
Math Methods
String Objects
String Methods
User-defined Objects
LiveWire
Email: gcf@npac.syr.edu
Home Page: http://www.npac.syr.edu