Introduction to JavaScript
Course Description
In this 3-day JavaScript training course, students learn to use JavaScript effectively to make their web
pages more dynamic and functional and to reduce the number of roundtrips to the server. Students willn learn JavaScript syntax, how to work with variables, learn write flow control logic, validate forms, create roll-over images, open and work with new windows, andlearn to work with JavaScript timers, intervals and navigation history
3 days
Contact us for pricing
Prerequisites
Experience in HTML is required and experience in CSS and programming would be beneficialAudience
Programmers and web developersJavaScript Basics
The Name "JavaScript"The HTML DOM
JavaScript Syntax
Basic Rules
Dot Notation
Square Bracket Notation
Where Is JavaScript Code Written?
JavaScript Objects, Methods and Properties
Methods
Properties
The Implicit window Object
The getElementById() Method
Event Handlers
Variables, Arrays and Operators
JavaScript VariablesA Loosely-typed Language
Storing User-Entered Data
Arrays
Associative Arrays
Array Properties and Methods
JavaScript Operators
JavaScript Functions
Built-in FunctionsNumber(object)
String(object)
isNaN(object)
parseFloat() and parseInt()
Built-in Functions vs. Methods
User-defined Functions
Function Syntax
Passing Values to Functions
A Note on Variable Scope
Returning Values from Functions
Built-In JavaScript Object
StringMath
Date
typeof Operator
Conditionals and Loops
if-else if-else ConditionsSwitch / Case
Loops
while Loop Syntax
do...while Loop Syntax
for Loop Syntax
for...in Loop Syntax
JavaScript Form Validation
Accessing Form DataBasics of Form Validation
The this Object
Cleaner Validation
Validating Radio Buttons
Validating Checkboxes
Validating Select Menus
Focus, Blur, and Change Events
Validating Textareas
Images, Windows and Timers
Image RolloversPreloading Images
Creating a Slide Show
Windows
Timers
Popup Timed Slide Show
Navigator, History, and Location Objects
The navigator ObjectFeature Detection
history Object
location Object
Creating a Simple Quiz
JavaScript