Register your product to gain access to bonus material or receive a coupon.
Special Edition Using JavaScript covers the following topics:
An Overview of JavaScript
Programming Fundamentals
Basic Objects
Working with Browser Windows
Working with the Document Object
Working with Forms
Dynamic HTML
Cross-Browser Solutions: Detection and Generic Functions
Encrypting Text with JavaScript
JavaScript as an Application Platform
Performing Financial Calculations
Introduction.
What You Need to Know. How the Book Is Structured. Where's the Code? Conventions Used in This Book.
I. GETTING STARTED WITH JAVASCRIPT.
1. An Overview of JavaScript.JavaScript: Controlling the Machine. What Is a Programming Language? Is JavaScript Hard to Learn? What Can You Do with JavaScript? What Can't You Do with JavaScript? Cross-Browser Concerns.
2. Creating Your First Scripts.What Do You Need to Get Started? Basic Script Construction. More JavaScript Examples. Adding Comments to Your Code. Creating External JavaScript Files. Debugging and Troubleshooting Script Problems.
II. PROGRAMMING FUNDAMENTALS.
3. Understanding Variables.What Is a Variable? Naming Variables: Rules and Best Practices. Understanding Literal Data Types.
4. Working with Functions.What Is a Function? The Structure of a Function. Where Do You Put a Function? Using a Function. Passing Values to Functions. Returning a Value from a Function. Understanding Local Versus Global Variables. Using Recursive Functions. Debugging and Troubleshooting Script Problems.
5. Building JavaScript Expressions.What Is an Expression? Understanding Expression Structure. Building Numeric Expressions. Building String Expressions. Building Comparison Expressions. Building Logical Expressions. Understanding Operator Precedence.
6. Controlling Your Code I: Testing.Using if() to Make True/False Decisions. Using if()…else to Handle a false Result. Making Multiple Decisions. Debugging and Troubleshooting Script Problems.
7. Controlling Your Code II: Looping.What Is Looping and Why Does Your Code Need It? Using while() Loops. Using for() Loops. Using do…while() Loops. Controlling Loop Execution: break and continue. Debugging and Troubleshooting Script Problems.
8. Working with Objects.What Is an Object? The JavaScript Object Hierarchy. Manipulating Object Properties. Working with Object Methods. Using with() to Shorten Object Expressions.
9. Handling Events.Understanding Events. Constructing Event Handlers. Using the JavaScript Events. Debugging and Troubleshooting Script Problems.
10. Working with Arrays.What Is an Array? Declaring an Array. Populating an Array with Data. Using the Array Object. Debugging and Troubleshooting Script Problems.
11. Interacting with the User.Why Interact at All? Displaying Messages Using the alert() Method. Asking Questions Using the confirm() Method. Getting Input Using the prompt() Method. Debugging and Troubleshooting Script Problems.
12. Debugging Your Code.What Is a Bug? Understanding the Various Types of Errors. A Debugging Strategy. The Top 10 Most Co