- The Name "JavaScript"
- The HTML DOM
- JavaScript Syntax: Basic Rules; Dot Notation; Square Bracket Notation
- Where Is JavaScript Code Written?
- JavaScript Objects, Methods and Properties: Methods; Properties; The Implicit window Object; The getElementById() Method
- Event Handlers
|
|
| Variables, Arrays and Operators |
- JavaScript Variables: A Loosely-typed Language; Storing User-Entered Data
- Arrays: Associative Arrays; Array Properties and Methods
- JavaScript Operators
- Conclusion
|
|
- Built-in Functions: Number(object); String(object); isNaN(object); parseFloat() and parseInt()
- Built-in Functions vs. Methods
- User-defined Functions: Function Syntax; Passing Values to Functions; A Note on Variable Scope; Returning Values from Functions
- Conclusion
|
|
| Built-In JavaScript Objects |
- String
- Math
- Date
- typeof Operator
- Conclusion
|
|
- Conditionals: if - else if - else Conditions; Switch / Case
- Loops: while Loop Syntax; do...while Loop Syntax; for Loop Syntax; for...in Loop Syntax
- Conclusion
|
|
|
|
| JavaScript Form Validation |
- Accessing Form Data
- Basics of Form Validation: The this Object; Cleaner Validation;
- Validating Radio Buttons
- Validating Checkboxes
- Validating Select Menus
- Focus, Blur, and Change Events: Focus and Blur; Change
- Validating Textareas
- Conclusion
|
|
- Image Rollovers: Backward Compatibility; An Image Rollover Function
- Preloading Images
- Conclusion
|
|
- Getting Started: JavaScript's Regular Expression Methods; Flags; String Methods
- Regular Expression Syntax: Start and End ( ^ ); Number of Occurrences ( ? + * {} ); Common Characters ( . d D w W s S ); Grouping ( [] ); Negation ( ^ ); Subpatterns ( () ); Alternatives ( | ); Escape Character ( )
- Backreferences
- Form Validation with Regular Expressions
- Cleaning Up Form Entries
- Conclusion
|
|
- Jump Menus: The options[] Array; The selectedIndex Property; Disabling Form Elements
- Interdependent Select Menus: Making the Code Modular
- Creating a JavaScript Timer
- A Sample Quiz Tool
- Conclusion
|
|
- Why Know the User's Environment?
- Conclusion
|
|
- Introduction
- Accessing and Modifying Styles
- Hiding and Showing Elements
- The innerHTML Property
- Manipulating Tables
- Dynamically Changing Dimensions: Creating a Timed Slider
- Positioning Elements Dynamically: Creating a Different Timed Slider; Changing the Z-IndexConclusion
|
|
|