JavaScript™ for Non-Programmers
Summary
JavaScript is perhaps the most popular language used for client-side
scripting for Web development. This course provides students with
a practical, hands-on introduction to JavaScript and its use in
interactive Web pages.
Prerequisites
Completion of a Programming with HTML course or equivalent
knowledge is required. Understanding of basic programming concepts
as provided by an Introduction to Programming course
is helpful.
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
4 Days
Format
Instructor-led course, with practical computer-based exercises.
Course Outline
-
Introduction to JavaScript
-
Introduction
Embedding JavaScript in a Web Page
-
Creating and Using JavaScript Files
Writing to the Document
Functions
Debugging JavaScript
-
Data Types
Escape Characters
Data Variables
Conversion
Arrays
-
Expressions and Operators
-
Types of Statements
Comments
Expressions
Operators
Functions -- Review
Parameters vs. arguments Property
Operator Precedence
-
JavaScript Object Model
-
Using Objects
Browser Objects
Document Object
Document Object Hierarchy
Custom Objects
Events
-
Coding Guidelines
Form Objects
-
The Event Model
Event Sources
Event Types/Handlers
-
Core Objects and Functions
-
Core Objects
Top-Level Properties and Functions
HTML Code Generation
-
Client-Side vs. Server-Side
When to Validate Data?
Creating a Regular Expression
Common Pattern Matching Symbols
Post-Pattern Modifiers
Special Escape Pattern Characters
Matching Regular Expressions
-
Image Object
Image Selection
Image Slide Show
Image Roll
Multiple Forms
Replacing the Current Document
Other Document Capabilities
-
Windows and Frames
-
Opening and Closing Windows
Referencing a Window Object
Creating a Frame
Updating a Frame
Referencing a Frame Object
window Object Properties
Handling Major Window Events
-
JavaScript URLs
The Status Bar
What Is a Cookie?
How Cookies Are Sent
Using the cookie Property
Using Cookies with JavaScript
Custom Objects
Defining a Custom Object Type
Using Custom Objects
Hardware and Software Requirements
Windows 95/98/ME/NT/2000, latest version of preferred Web browser,
and text editor.
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
PL/SQL and SQL*Plus are trademarks or registered trademarks of Oracle
Corporation. Microsoft is either a registered trademark or trademark of Microsoft
Corporation in the United States and/or other countries. MVS is a registered
trademark of the International Business Machines Corp. in the U.S. or other
countries or both. Motif, OSF/1, UNIX, and the "X Device" are registered
trademarks and IT DialTone and The Open Group are trademarks of The Open Group
in the U.S. and other countries. All other trademarks are the property of
their respective owners.