JavaScript Programming
(Course length: 1 day)
Course Description
You used XHTML to develop web pages with interactive content to attract visitors. In this course, you will develop interactive web content using JavaScript.
Course Objective: You will create and execute scripts using JavaScript.
Target Student: This course is intended for students who are familiar with developing web pages; students should be proficient in writing XHTML code and using Internet Explorer® and Mozilla Firefox®.
Prerequisites: Students must have some basic knowledge of programming. They should be able to create web pages using XHTML code. They should also be proficient in using web browsers such as Internet Explorer and Mozilla Firefox.
Delivery Method: Instructor led, group-paced, classroom-delivery learning model with structured hands-on activities.
Performance-Based Objectives
Upon successful completion of this course, students will be able to:
• create and execute a JavaScript script. They will also identify some guidelines to be followed while writing scripts.
• display messages on the status bar of the browser window, create a new window that helps open linked pages, and manage the window using the properties and methods of the window object.
• add content to documents, create dynamic documents, and navigate between layers in a document.
• create a form, store data in it, and manipulate the data.
• validate data using control constructs.
• manipulate numerical, string, and date values.
• search for a pattern using a regular expression and understand Ajax.
Course Content
Lesson 1: Getting Started with JavaScript
Topic 1A: Create a Basic JavaScript Script
Topic 1B: Execute a Script
Topic 1C: Add Comments to a Script
Lesson 2: Managing the Browser Window
Topic 2A: Display Messages on the Status Bar
Topic 2B: Open a Linked Page in a New Window
Lesson 3: Managing the Document
Topic 3A: Write Content to a Document
Topic 3B: Create a Dynamic Document
Lesson 4: Manipulating Data and Functions
Topic 4A: Create a Form
Topic 4B: Create a Function
Topic 4C: Store Data Using Variables
Topic 4D: Manipulate Data Using Operators
Topic 4E: Convert Data Types
Lesson 5: Validating Statements Using Control Constructs
Topic 5A: Validate Statements
Topic 5B: Execute Statements Iteratively
Lesson 6: Calculating Numerical Values
Topic 6A: Calculate Numerical Values
Topic 6B: Manipulate String Values
Topic 6C: Manipulate Date Values
Lesson 7: Using Regular Expressions and Understanding Ajax
Topic 7A: Use Regular Expressions to Match Patterns in Strings
Topic 7B: Understand the Basics of Ajax
JavaScript: Advanced Programming and Ajax
(Course length: 2 days)
Course Description
You are familiar with XHTML and basic techniques of JavaScript programming in designing basic web pages. You can make your web pages more dynamic and attractive by providing additional functionality to them. In this course, you will use the advanced techniques in JavaScript programming and Ajax to make your web pages highly functional.
Course Objective: You will use the advanced techniques in JavaScript programming and Ajax to add better functionality to make web pages interactive and dynamic.
Target Student: Advanced JavaScript Programming is intended for students who are experienced developers of web pages and have experience with JavaScript. Students should be comfortable creating web pages, writing XHTML code and basic JavaScripts, and proficient in using web browsers such as Internet Explorer.
Prerequisites: To ensure successful completion of this course, we recommend that you first complete the JavaScript Programming (Fourth Edition) course or have equivalent knowledge.
Upon successful completion of this course, students will be able to:
• maintain JavaScript code using programming techniques.
• implement cross-browser compatibility using JavaScript.
• use custom objects in JavaScript.
• create and use arrays in JavaScript.
• handle cookies using JavaScript.
• validate forms using the generic approach.
• program using DOM API to traverse, modify, and append nodes to documents.
• communicate with Adobe Flash files, ActiveX controls, and server applications.
• use Ajax to fetch information from the server and display it on the web page.
• create applications with Ajax.
Course Content
Lesson 1: Using Programming Techniques
Topic 1A: Maintain JavaScript Code
Topic 1B: Debug JavaScript Code
Lesson 2: Implementing Cross-Browser Compatibility
Topic 2A: Provide Support for Multiple Browsers
Topic 2B: Enable JavaScript
Topic 2C: Detect Browser and JavaScript Versions
Topic 2D: Detect Objects
Topic 2E: Handle Exceptions
Lesson 3: Using Custom Objects in JavaScript
Topic 3A: Create Custom Objects
Topic 3B: Use Constructor Functions
Topic 3C: Add Methods to Objects
Topic 3D: Use Prototype Functions
Lesson 4: Working with Arrays
Topic 4A: Create Arrays
Topic 4B: Delete Array Elements
Topic 4C: Use Multidimensional Arrays
Lesson 5: Handling Cookies Using JavaScript
Topic 5A: Use Cookie Objects
Topic 5B: Store Cookies
Topic 5C: Process Cookie Values
Topic 5D: Delete Cookies
Lesson 6: Validating Forms Using JavaScript
Topic 6A: Validate Forms Using the Generic Approach
Topic 6B: Implement Generic Validation Using Custom Objects
Lesson 7: Programming Using DOM API
Topic 7A: Traverse Documents
Topic 7B: Modify Documents
Topic 7C: Append Nodes to Documents
Lesson 8: Communicating with Plug-Ins and Server Applications
Topic 8A: Communicate with Adobe Flash Content
Topic 8B: Communicate with ActiveX
Topic 8C: Communicate with Server Applications
Lesson 9: Using Ajax
Topic 9A: Create an XMLHttpRequest Object
Topic 9B: Fetch Information from Servers Using the XMLHttpRequest Object
Lesson 10: Creating Applications with Ajax
Topic 10A: Create an Auto-Complete Application Using Ajax
Topic 10B: Interact with a Database Using Ajax
Topic 10C: Validate Forms Using Ajax
Topic 10D: Work with Third-Party Ajax Libraries