You are here:
JavaScript Programming
JavaScript is a powerful scripting language that may be embedded into web pages enabling web developers to take their knowledge of HTML and create dynamic web pages. This course covers all of the facets of JavaScript including the Core JavaScript language, the Document Object Model, Form Validation, and Images. This course provides an introduction to the JavaScript programming language which enables students to generate dynamic web content using JavaScript. The topics covered include: JavaScript language elements (variables, control flow, functions, built-in operators), programming with events, HTML form validation using JavaScript, and client-side computing using JavaScript.
 
Who Should Attend
Web developers who desire to take their knowledge of HTML and create dynamic web pages.
 
Prerequisites
The student should have at least a beginning understanding of both HTML and a programming language.
 
Features of this Course
Interactive hands-on lab exercises.
 
Benefits of Attending this Class

Upon completion of this course, students should be able to:

During class, students will:

  • Clearly define the following terms: client side, server side, Browser, Server, WWW
  • Identify how each of the above technologies fit together in the development of Web pages
  • Write Web pages which validate user input
  • Process Mouse events triggered by the client
  • Design and produce interactive forms
  • Manipulate client side status with "cookies"
 
Course Contents

1. Introduction To JavaScript

Perspective and Background
Uses of JavaScript
Browser Wars
A Simple JavaScript Example
The JavaScript Language
Core Language Features
Object Oriented Features

2. The Core JavaScript Language

Local vs. Global variables
Semi-Colons and Comments
Identifiers and Reserved Words
Strings + Booleans
String Methods
Functions
Arrays
Operators
Control Flow Constructs
The arguments Array

3. Object Oriented JavaScript

Building Your Own Objects
The Math Object
Date Objects

4. An Overview Of The Document Object Model

The Document Object Model (DOM)
Accessing Object Properties in the DOM
Document Object Properties
Document Object Methods
Document Object Events

5. The Window Object

Windows and Frames
The Window Object
Window Methods
Window Events
Window Properties
The location object
The history object

6. Validating Form Data

Validating Data
Form Element Event Types
Text + Button Events
A Validation Example
Batch Validation
Verifying Radio Buttons
Libraries
Databases

7. Images

A Simple Rollover
More Complex Rollovers
Timed Rollovers

8. The Document Object

The forms array
The anchors array
The applets arrays
Other document properties
Cookies
Document methods

 
 
 
Disclaimer: HP-UX, Tru64 Unix, OpenVMS and are registered trademarks of the Hewlett Packard Corporation. Solaris and Java are registered trademarks of Sun Corporation. AIX is a registered trademark of IBM. Oracle is aregistered trademark of Oracle Corporation.