Introduction
The JavaScript Examples Bible serves as a dedicated companion to the best-selling JavaScript Bible by Danny Goodman. This book provides a comprehensive collection of JavaScript examples designed to illustrate various object models and language features. It is intended for individuals seeking practical, complete JavaScript code examples to enhance their understanding and application of the language.
Many sections include detailed descriptions of HTML listings that demonstrate specific object models or language features. Additionally, interactive "Example" sections feature an interactive workbench, known as The Evaluator, which is exclusive to the JavaScript Bible series, allowing users to experiment with object models and language features in real-time.
Getting Started
To effectively utilize this manual, it is recommended to have a foundational understanding of JavaScript concepts, ideally gained from the companion JavaScript Bible or similar resources. This book focuses on practical application through examples.
Book Overview
The book is structured to provide ready-to-run examples and step-by-step guides. It covers:
- Interaction with Document Object Model (DOM) and core JavaScript language terminology.
- Experimentation with proprietary and industry-standard DOM features across different browser environments (e.g., Internet Explorer 5.x and Netscape Navigator 6).
- Modern object-detection coding techniques for broad browser compatibility.
- Application of language specifics to real-world programming challenges.
- Extensive code listings accompanied by analysis of coding strategy and design decisions.
Image: Front cover of the JavaScript Examples Bible. The cover features the title prominently with a stylized background, indicating its focus on programming.
Using the Book
Each chapter in this book corresponds to specific topics within the broader JavaScript language. The examples are designed to be practical and directly applicable.
The Evaluator Workbench
A key feature of this book is "The Evaluator," an interactive workbench. This tool allows users to:
- Test JavaScript code snippets in real-time.
- Observe the immediate effects of code changes.
- Gain hands-on experience with DOM manipulation and core language features without needing a separate development environment setup.
Refer to the specific chapter introductions for guidance on how to best utilize The Evaluator for the concepts presented.
Companion CD-ROM (If Applicable)
Some editions of the JavaScript Bible and its companions, including this one, may have included a CD-ROM. If your copy includes a CD-ROM, it typically contains:
- A searchable e-version of the book.
- Over 300 ready-to-run scripts from the JavaScript Bible, Gold Edition.
Consult Appendix A of the book for detailed instructions on CD-ROM contents and system requirements for its use.
Troubleshooting
While using the JavaScript Examples Bible, you might encounter common issues related to code execution or understanding.
Code Not Working as Expected
- Syntax Errors: Carefully re-check your code against the examples in the book. Even minor typos can prevent JavaScript from executing correctly.
- Browser Compatibility: JavaScript behavior can vary across different web browsers and versions. The book mentions compatibility with Internet Explorer 5.x and Netscape Navigator 6. If using modern browsers, some older examples might require adaptation or may behave differently due to updated web standards.
- Environment Setup: Ensure your HTML file is correctly linked to any external JavaScript files and that your browser's developer console (usually accessed by F12) is open to check for error messages.
- The Evaluator: If using The Evaluator, ensure you are following the instructions for that specific tool. It is designed to provide a controlled environment for testing.
CD-ROM Issues (If Applicable)
- Disc Not Reading: Ensure the CD-ROM is clean and free from scratches. Try it in another drive if available.
- System Requirements: Verify your computer meets the minimum system requirements specified in Appendix A for the CD-ROM content (e.g., PC running Windows 95 or later, Windows NT 4 or later; Power Macintosh running System 7.6 or later).
Specifications
| Publisher | Wiley |
| Publication Date | August 15, 2001 |
| Edition | 1st |
| Language | English |
| Print Length | 552 pages |
| ISBN-10 | 0764548557 |
| ISBN-13 | 978-0764548550 |
| Item Weight | 1.95 pounds |
| Dimensions | 7.4 x 1.22 x 9.45 inches |





