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
Representing Data
Data Types
Escape Characters
Data Variables
Conversion
Arrays
JavaScript Logic
Expressions and Operators
Types of Statements
Comments
Expressions
Operators
Functions -- Review
Parameters vs. arguments Property
Operator Precedence
Control Statements
JavaScript and the Document Object Model
JavaScript Object Model
Using Objects
Browser Objects
Document Object
Document Object Hierarchy
Custom Objects
Events
Form Processing
Coding Guidelines
Form Objects
Handling Events
The Event Model
Event Sources
Event Types/Handlers
Other Event Handlers
JavaScript and the Document Object Model
Core Objects and Functions
Core Objects
Top-Level Properties and Functions
HTML Code Generation
Validating Form Input
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
Document Control
Image Object
Image Selection
Image Slide Show
Image Roll
Multiple Forms
Replacing the Current Document
Other Document Capabilities
Working with Windows, Frames, and Cookies
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
Advanced Topics
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.
Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 3
Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 4
Notice: Undefined variable: REMOTE_USER in /var/www/datadeliverance/inc/trademarks.inc on line 7
Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 7
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.