Synopses & Reviews
The bestselling JavaScript reference, now updated to reflect changes in technology and best practicesAs the most comprehensive book on the market, the JavaScript Bible is a classic bestseller that keeps you up to date on the latest changes in JavaScript, the leading technology for incorporating interactivity into Web pages. Part tutorial, part reference, this book serves as both a learning tool for building new JavaScript skills as well as a detailed reference for the more experienced JavaScript user.
You'll get up-to-date coverage on the latest JavaScript practices that have been implemented since the previous edition, as well as the most updated code listings that reflect new concepts. Plus, you'll learn how to apply the latest JavaScript exception handling and custom object techniques.
Coverage includes:
- JavaScript's Role in the World Wide Web and Beyond
- Developing a Scripting Strategy
- Selecting and Using Your Tools
- JavaScript Essentials
- Your First JavaScript Script
- Browser and Document Objects
- Scripts and HTML Documents
- Programming Fundamentals
- Window and Document Objects
- Forms and Form Elements
- Strings, Math, and Dates
- Scripting Frames and Multiple Windows
- Images and Dynamic HTML
- The String Object
- The Math, Number, and Boolean Objects
- The Date Object
- The Array Object
- JSON - Native JavaScript Object Notation
- E4X - Native XML Processing
- Control Structures and Exception Handling
- JavaScript Operators
- Function Objects and Custom Objects
- Global Functions and Statements
- Document Object Model Essentials
- Generic HTML Element Objects
- Window and Frame Objects
- Location and History Objects
- Document and Body Objects
- Link and Anchor Objects
- Image, Area, Map, and Canvas Objects
- Event Objects
Practical examples of working code round out this new edition and contribute to helping you learn JavaScript quickly yet thoroughly.
Synopsis
This new edition of the definitive guide to JavaScript brings the content up to date with changes in the technology and indsutry. Chapters will be substantially modifed to impletment phiolosphies and practices that have changed over the past few years. The code listing will be fully updated to reflect new concepts. Part tutorial and part reference, the book serves as both a learning tool for building new JavaScript skills and a detailed reference for seasoned JavaScript developers. All JavaScript users across the skill spectrum will find the book indispensable.
Key components of the book include: Advances in JavaScript programming such as JavaScript subroutine libraries including JQuery, script.aculo.us, and Prototype Writing scripts for mouse rollover effects and powerful client-side form validation How to master JavaScript and DOM concepts with the exclusive interactive workbench: The Evaluator Apply the latest JavaScript exception handling and custom object techniques Use in Web 2.0 Applications in the form of AJAX and interaction with sites like Google Maps Deployment strategies that best suit your content goals and target audience
This edition, like previous editions, includes a CD with a complete electronic version of the book, that includes 23 bonus chapters not included in the printed text.
Synopsis
The bestselling JavaScript reference, now updated to reflect changes in technology and best practices
As the most comprehensive book on the market, the JavaScript Bible is a classic bestseller that keeps you up to date on the latest changes in JavaScript, the leading technology for incorporating interactivity into Web pages. Part tutorial, part reference, this book serves as both a learning tool for building new JavaScript skills as well as a detailed reference for the more experienced JavaScript user.
You'll get up-to-date coverage on the latest JavaScript practices that have been implemented since the previous edition, as well as the most updated code listings that reflect new concepts. Plus, you'll learn how to apply the latest JavaScript exception handling and custom object techniques. Follows in the tradition of previous edition bestsellers, providing a thorough reference on JavaScript, the leading technology for making Web pages interactive Serves as a reference and tutorial and is packed with numerous working code examples Includes new developments in the ECMAScript 5th Edition standard on which JavaScript is based. Promotes state-of-the-art industry best practices including progressive enhancement, unobtrusive JavaScript, and separation of development layers Shows how to write scripts for mouse rollover effects, drag-and-drop, and interaction with stylesheets Reviews deployment strategies that best suit your content goals and target audience
Practical examples of working code round out this new edition and contribute to helping you learn JavaScript quickly yet thoroughly.
Synopsis
Get interactive with this definitive guide to JavaScriptDo you want to add interactivity to your web pages or gain more control over how browsers display your content? This bestselling guide shows you how to use JavaScript to give your site visitors a more engaging experience. Packed with sample code and ready-to-use scripts, it helps you quickly master JavaScript fundamentals and deploy strategies that best suit your web goals. You'll be on your way to writing scripts for rollover effects, taking advantage of Web 2.0, using JavaScript subr
Explore the latest advances in JavaScript programming
Develop a scripting strategy and select the right tools
Master closures, generators, and iterators
Apply the latest JavaScript exception handling and custom object techniques
Harness the power of the Document Object Model
Launch Web 2.0 applications using Ajax, E4X/XML, and JSON
Perform data entry validation and enhance security
outine libraries, and more!
What's on the CD-ROM?
You'll find a large collection of extras on the CD-ROM, including a searchable e-version of the book with additional reference details, and 29 bonus JavaScript chapters on advanced topics such as data-entry validation, debugging scripts, cross-browser dynamic HTML issues, and more.
Also on the CD:
System Requirements: See the CD-ROM appendix for details and complete system requirements.
CD-ROM Included!
Make your web site interactive
Create dynamic content for today's browsers
Master Document Object Model concepts
About the Author
Danny Goodman is the author of numerous critically acclaimed and best-selling books, including
The Complete HyperCard Handbook,
Danny Goodman’s AppleScript Handbook,
Dynamic HTML: The Definitive Reference, and
JavaScript & DHTML Cookbook. He is a renowned authority on and expert teacher of computer scripting languages. His writing style and pedagogy continue to earn praise from readers and teachers around the world.
Michael Morrison is a writer, developer, toy inventor, and author of a variety of books covering topics such as Java, C++, Web scripting, XML, game development, and mobile devices. Some of Michael’s notable writing projects include Faster Smarter HTML and XML, Teach Yourself HTML & CSS in 24 Hours, and Beginning Game Programming. Michael is also the founder of Stalefish Labs (www.stalefishlabs.com), an entertainment company specializing in unusual games, toys, and interactive products.
Paul Novitski has been writing software as a freelance programmer since 1981. He once taught himself BASIC in order to write a machine language disassembler so that he could lovingly hack Wang’s OIS microcode. He has focused on internet programming since the late ’90s. His company, Juniper Webcraft, produces HTML-strict websites featuring accessible, semantic markup, separation of development layers, and intuitive user interfaces. He knows the righteousness of elegant code, the poignancy of living on the bleeding edge of wilderness, the sweet melancholy of mbira music, and the scorching joy of raising twin boys.
Tia Gustaff Rayl is a consultant who does development and training in database and Web technologies. Most recently she has published courseware for XHTML, CSS, JavaScript, and SQL. It comes as no surprise to those who know her that she began her software career with degrees in English and Education from the University of Florida. As is usual for most newcomers to the field, her introduction to computing was maintaining software. She went on to a long-standing career in the software industry in full life cycle system, application, and database development; project management; and training for PC and mainframe environments. In the mid-nineties she worked on early Web-enabled database applications, adding JavaScript to her repertoire. She continues to take on development projects to maintain her code-slinging skills. If she had any spare time (and money) she would go on an around-the-world cruise with her husband and two dogs.
Table of Contents
Introduction.
Part I: Getting Started with JavaScript.
Chapter 1: JavaScript’s Role in the World Wide Web and Beyond.
Chapter 2: Developing a Scripting Strategy.
Chapter 3: Selecting and Using Your Tools.
Chapter 4: JavaScript Essentials.
Part II: JavaScript Tutorial.
Chapter 5: Your First JavaScript Script.
Chapter 6: Browser and DocumentObjects.
Chapter 7: Scripts and HTML Documents.
Chapter 8: Programming Fundamentals, Part I.
Chapter 9: Programming Fundamentals, Part II.
Chapter 10: Window and Document Objects.
Chapter 11: Forms and Form Elements.
Chapter 12: Strings,Math, and Dates.
Chapter 13: Scripting Frames and Multiple Windows.
Chapter 14: Images and Dynamic HTML.
Part III: JavaScript Core Language Reference.
Chapter 15: The String Object.
Chapter 16: The Math, Number, and Boolean Objects.
Chapter 17: The Date Object.
Chapter 18: The Array Object.
Chapter 19: JSON — Native JavaScript Object Notation.
Chapter 20: E4X — Native XML Processing.
Chapter 21: Control Structures and Exception Handling.
Chapter 22: JavaScript Operators.
Chapter 23: Function Objects and Custom Objects.
Chapter 24: Global Functions and Statements.
Part IV: Document Objects Reference.
Chapter 25: Document Object Model Essentials.
Chapter 26: Generic HTML Element Objects.
Chapter 27: Window and Frame Objects.
Chapter 28: Location and History Objects.
Chapter 29: Document and Body Objects.
Chapter 30: Link and Anchor Objects.
Chapter 31: Image, Area, Map, and Canvas Objects.
Chapter 32: Event Objects.
Part V: Appendixes.
Appendix A: JavaScript and Browser Objects Quick Reference.
Appendix B: What’s on the CD-ROM.
Index.
Bonus Chapters on the CD-ROM.