| Chapter
1: Introduction to JavaScript |
JAVA vs. JavaScript
Interpreted programs vs Compiled
Programs
Why learn JavaScript?
Uses of JavaScript
Review, Exercises and Summary
|
| Chapter
2: JavaScript Syntax |
Inserting Client-Side JavaScript into a web page
JavaScript Syntax
Case Sensitivity
Semicolons
White Space
Strings and Quotation Marks
Opening and Closing Brackets
Comments
Variable and Function Names
Reserved Words
Review Exercises and Summary
|
| Chapter
3: Basic Programming
Constructs |
Variable Declaration and Rules
Variable Typing
Operators
JavaScript Operators
Control Structures (Loops and Branches)
Branches
The
'if' statement
The
'switch statement
Loops
The
'while' loop
The 'for' loop
Functions
Review, Exercises and Summary
|
| Chapter
4: Objects, Events and the Document Object Model
|
Objects
The Document Object Model
Arrays
Events
onClick
onSubmit
onMouseOver
onMouseOut
onFocus
onChange
onBlur
onLoad
onUnload
Review, Exercises and Summary
|
| Chapter
5: Alerts, Prompts & Confirms
|
Alerts, Prompts and Confirms
window.alert()
window.prompt()
window.confirm()
Review, Exercises and Summary
|
| Chapter
6: Form Validation |
Form Validation
Form Logic
Creating a function for a form
Review, Exercises and Summary
|
| Chapter
7: MouseOver Effects |
The Image Object
Required Graphics
Review, Exercises and Summary
|
| Chapter
8: Pop-Up Windows |
The window.open method
The window.close method
About Window Features
Review, Exercises and Summary
|