![]() |
Courses - Scripting Languages |
JavaScript: Introduction
Duration: 2 days |
Participants: This is a serious JavaScript programming course for those students who want to gain a full understanding of this powerful programming language. It gives Web developers a strong foundation in JavaScript programming, and a good foundation for coding DHTML. |
Objectives:
Upon successful completion of this course you will be able to:
- Understand the strength of JavaScript, what it can do, and how it works. - Use JavaScript to display messages in the browser status bar, display the current date, and display and dynamically update the current time. - List the JavaScript syntax rules and implement good coding practices. - List the data and variable types that JavaScript supports, use the many control statements available in JavaScript, and create and use functions. - Describe the purpose of the Document object and use its properties, methods, and event handlers. - Describe the purpose of the Form object and use its properties, methods, and event handlers to read and write to HTML forms. - Validate user input in HTML forms including testing for required fields, numeric data and numeric data within a range of values specified, and string data. - Describe the purpose of the Date object, instantiate and use instances of the Date object to create clocks, count-down timers, and perform date math. - Describe the purpose of the Math object and use its constants and methods to perform mathematical operations. - Spawn new windows. - Create rollovers and ad banners. |
Overview: JavaScript has become the Web's standard page scripting language. This course teaches you the use of JavaScript to enhance Web pages and develop "dynamic, interactive" Web pages (DHTML) using HTML and JavaScript. |
Prerequisites: A strong understanding of HTML programming is required. Some programming experience is desirable, but not essential. |
Format: Lecture and discussion with hands-on exercises. |
Topic Outline:
- JavaScript Fundamentals JavaScript is Hot Possible Uses and Practical Applications - Getting Started with JavaScript JavaScript Programming Overview - JavaScript Building Blocks Variables and Data Types Operators JavaScript Control Statements Functions Objects - The Window Object The Window Object Dialog Boxes Status Bar Messages Spawning new Windows and Window Manipulations - The Document Object The Document Object Writing to Documents Dynamic Documents - Working with Frames HTML Frames Review Scripting for Frames - Working with Forms and Forms-based Data The Form Object Reading Data from Form Elements - Validating Form Data A General Approach, Testing for Required Fields, Validating Data - Dates and Math Overview of the Date Object, Using and manipulating Dates, Overview of the Math Object - Introduction to Cross-browser Compatibility - Cookies and their Uses in JavaScript |
|