The Definitive JavaScript Resource. Complete coverage of the W3C DOM2 standard
Build dynamic, cross-browser Web pages using JavaScript--the premier client-side scripting language in use today on the Web. First learn the basics of the language, then combine syntax and theory to develop practical applications--create a variety of windows including special dialogs, use the W3C Document Object Model (DOM) 2 to manipulate (X)HTML documents, add sizzle to your pages with special effects, and improve usability. With full coverage of advanced topics such as using embedded objects and remote JavaScript, this is the ultimate resource for beginning and advanced users alike.
• Learn core language features such as data types, objects, and regular expressions
• Manipulate (X)HTML and XML documents using the W3C DOM 2
• Take advantage of the standard event models in DOM 2 for robust event handling
• Control windows and frames with the Windows object
• Validate forms before sending them to server-side programs
• Add dynamic effects to Web pages, such as rollovers and animation
• Extend JavaScript?s capabilities using embedded multimedia objects
• Interact with servers on the Internet using remote JavaScript
• Understand JavaScript security policies
• Troubleshoot and debug your JavaScript programs
Thomas Powell, lecturer for UCSD, is the author of HTML& XHTML: The Complete Reference and Web Design: The Complete Reference. He is president and founder of PINT, a Web site design and development firm. Fritz Schneider is a software engineer at Google who where he works on both client- and server-side Web applications. He is an experienced teacher of Web technologies and co-author of How to Do Everything with Google.
Table of Contents:
Part I: Introduction
Chapter 1 Introduction to JavaScript
Chapter 2 JavaScript Core Features-Overview
Part II: Core Language
Chapter 3 Data Types and Variables
Chapter 4 Operators, Expressions, and Statements
Chapter 5 Functions
Chapter 6 Objects
Chapter 7 Array, Date, Math, and Type-Related Objects
Chapter 8 Regular Expressions
Part III: Fundamental Client-Side JavaScript
Chapter 9 JavaScript Object Models
Chapter 10 The Standard Document Object Model
Chapter 11 Event Handling
Part IV: Using JavaScript
Chapter 12 Controlling Windows and Frames
Chapter 13 Handling Documents
Chapter 14 Form Handling
Chapter 15 Dynamic Effects: Rollovers, Positioning, and Animation
Chapter 16 Navigation and Site Visit Improvements
Chapter 17 Browser and Capabilities Detection
Part V: Advanced Topics
Chapter 18 JavaScript and Embedded Objects
Chapter 19 Remote JavaScript
Chapter 20 JavaScript and XML
Part VI: Real World JavaScript
Chapter 21 Browser-Specific Extensions and Considerations
Chapter 22 JavaScript Security
Chapter 23 JavaScript Programming Practices
Part VII: Appendixes
A Core Syntax Quick Reference
B JavaScript Object Reference
C JavaScript Reserved Words