JavaScript™ Programming

Summary
This course provides programmers with a practical, hands-on introduction to JavaScript and its use in interactive Web pages. The course explores JavaScript's built-in objects and capabilities as well as the creation of new objects.

Prerequisites
Completion of an HTML Programming course or equivalent knowledge is required. Prior experience with a programming language, such as C, Java, or Visual Basic, is highly recommended.

Course Objectives
On completion of this course, the student should be able to
  • Describe JavaScript syntax
  • List and explain the HTML tags used with JavaScript
  • Explain JavaScript's events and event handling process
  • Write JavaScript programs to enable rollover functionality in web pages
  • Write JavaScript programs to validate form data
  • Write JavaScript programs to control windows and frames
  • Write JavaScript programs to handle common events
Length
2 Days

Format
Instructor-led course, with practical computer-based exercises.

Course Outline
  • Introduction
    • What is JavaScript? Java versus JavaScript
    • Objects in JavaScript
  • Getting Started
    • HTML tags for JavaScript
    • Basic command syntax
    • Comments
    • Displaying text and images
    • Getting input from the user
  • Basic Language Elements
    • Data types
    • Variables
    • Arrays
    • Operators
    • Flow control
  • Creating Modular Code
    • Creating and using functions
    • Creating and using objects
  • Creating Modular Code
    • Mouse events
    • Simulating events
  • Forms
    • Creating forms with HTML
    • The JavaScript form object
    • Form elements
    • Working with multiple forms
  • Built-in Objects
    • The date object
    • The string object
    • The math object
  • Frames
    • Creating frames in HTML
    • The document object
    • The location and history objects

Hardware and Software Requirements
Windows 95/98/ME/NT/2000, latest version of preferred Web browser, and text editor.

Go to course catalogue