JavaScript outline
Add interactivity to your pages with JavaScript
JavaScript is the standard client-side scripting language used to create interactive pages. Learn JavaScript to dynamic pages with user interactivity from the simple rollover button to flyout menus, image slide shows and form validation.
Modules are approximatley 3 hours long.
Module 1: Introduction to JavaScript
- Introduction to Scripting
- Origins of JavaScript
- JavaScript Characteristics
- JavaScript and Common Programming Concepts
- Java and JavaScript
- Server-Side vs. Client-Side Applications
- Annotating Your Code with Comments
Module 2: Working with Variables and Data in JavaScript
- Using JavaScript to Communicate with the User
- Using Data More Than Once: Variables
- JavaScript Expressions
- Operators
- Inline Scripting, Simple User Events and the onLoad and onUnload Event Handlers
- Keywords and Reserved Words
Module 3: The JavaScript Object Model
- The JavaScript Object Model
- Commonly Used Objects
- The window Object
- The document Object
- The with Statement
- The image Object
- The history Object
- The location Object
- The navigator Object
Module 4: Functions, Methods and Events in JavaScript
- Functions
- Defining a Function
- Calling a Function
- User Events and JavaScript Event Handlers
- Methods as Functions
Module 5: Controlling Program Flow in JavaScript
- Controlling Decisional Program Flow
- The if...else Statement
- The while Statement
- The do...while Statement
- The for Statement
- The break Statement
- The continue Statement
- The switch Statement
Module 6: Built-in JavaScript Objects
- Introduction to built-in JavaScript Objects
- The String Object
- Additional String Object Methods
- Evaluating StringsJavaScript Regular Expressions
- The Array Object
- The Date Object
- Setting and Extracting Time Information
- The Math Object
Module 7: Developing Interactive Forms with JavaScript
- Interactive Forms
- Overview of Form Elements
- Referring to a Form Element
- The form Object
- The button Object
- The checkbox Object
- The text and textarea Objects
- The radio Object
- The select Object
- Multiple-Selection Lists
- Form Validation