The Official Netscape JavaScript Book
by Peter Kent and John Kent
The Official Netscape JavaScript Book contains many examples, little and not-so-little pieces of script that we've used to teach JavaScript. The Online Companion contains all of these scripts--you can copy them directly from the Online Companion using your browser's Copy command, and paste them into your HTML editing program.
Use the following links to go to the examples scripts we used, and to other Web pages referenced in the book.
Table of Contents
Chapter 1: What is JavaScript?
Chapter 2: A Few Quick JavaScript Tricks
Chapter 3: First Steps--Scripts, Functions, & Comments
Chapter 4: Variables and Literals--Storing Data
Chapter 5: Expressions and Operators--Manipulating Values
Chapter 6: Loops & Conditionals--Making Decisions & Controlling Scripts
Chapter 7: More on Functions
Chapter 8: Troubleshooting and Avoiding Trouble
Chapter 9: Building Arrays
Chapter 10: Objects, Properties, and Methods
Chapter 11: More About Built-In Objects
Chapter 12: JavaScript Events--When are Actions Carried Out?
Chapter 13: Advanced Topics
Chapter 14: JavaScript 1.2's Advanced Features
Chapter 15: Controlling Windows and Documents with JavaScript
Chapter 16: Using JavaScript with Frames
Chapter 17: Forms and JavaScript
Chapter 18: Communicating with the User
Chapter 19: The Area Code & Telephone Directory Applications
Chapter 20: Ready-to-Use Scripts
Appendix A: About the Online Companion
Appendix B: The JavaScript Objects & Arrays
Appendix C: JavaScript Properties
Appendix D: The JavaScript Event Handlers
Appendix E: Reserved Words
Appendix F: Symbol Reference
Appendix G: JavaScript Colors
Appendix H: Finding More Information
Appendix I: The Scripts We Used
Downloads
This page, and all associated pages at this site, are � 1997 Peter Kent (javas@arundel.com)
and John Kent, CISS Ltd (testing and marketing software, London,
England: 100553.1346@compuserve.com).
You have permission to copy scripts and use them in your Web pages, but not to resell them in any form.