Introduction to JavaScript
In this 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.
- Cost: Price on application
- Duration: 3 Days
- This course is not available as part of our public schedule but can be provided on a customised client specific basis.
Experience in the following areas is required:
* HTML
Experience in the following areas would be beneficial:
* CSS
* Programming Experience
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
JavaScript Variables
A Loosely-typed Language
Storing User-Entered Data
Arrays
Associative Arrays
Array Properties and Methods
JavaScript Operators
Built-in Functions
Number(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
String
Math
Date
typeof Operator
Conditionals
if - else if - else Conditions
Switch / Case
Loops
while Loop Syntax
do...while Loop Syntax
for Loop Syntax
for...in Loop Syntax
Accessing Form Data
Basics of Form Validation
The this Object
Cleaner Validation
Validating Radio Buttons
Validating Checkboxes
Validating Select Menus
Focus, Blur, and Change Events
Focus and Blur
Change
Validating Textareas
Image Rollovers
Backward Compatibility
An Image Rollover Function
Preloading Images