Wiley
Wiley.com
Print this page Share

JavaScript Bible, 7th Edition

ISBN: 978-0-470-52691-0
1224 pages
November 2010
JavaScript Bible, 7th Edition (0470526912) cover image
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.

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.

 

See More
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.

See More
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.

See More
Download TitleSizeDownload
Appendix_A
This file has no restriction on printing.
1.03 MB Click to Download
See More

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
Appendix A on CD Not Printable
A printable version is available on the Downloads tab.
3/28/11
45 Error in Code
On page number 45, above Listing 4-1, the following should appear (if you'd like to see an example of how it appears elsewhere in the book, please see page 138):
Note
The property assignment event-handling technique employed throughout the code in this chapter, and much of the book, is addEvent(), a cross-browser event handler explained in detail in Chapter 32, "Event Objects."
The addEvent() function is part of the script file jsb-global.js, located on the accompanying CD-ROM in the Content/ folder where it is accessible to all chapters' scripts.
2-16-11
297 Error in Code
Currently reads:
...
      var oGreeting = document.getElementById(?greeting');

         // if they exist, plug in new content
         if (oDateDisplay && oGreeting)
         {
            // plug in date
            var oNow = new Date();
            var sDate = customDateString(oNow);
            replaceTextContent(oDateDisplay, sDate);

            // plug day-part into greeting
            var sDayPart = dayPart(oNow);
            replaceTextContent(oGreeting, sDayPart);
         }
...
Should read:
...
      var oDayPart = document.getElementById('day-part');

         // if they exist, plug in new content
         if (oDateDisplay && oDayPart)
         {
            // plug in date
            var oNow = new Date();
            var sDate = customDateString(oNow);
            replaceTextContent(oDateDisplay, sDate);

            // plug day-part into greeting
            var sDayPart = dayPart(oNow);
            replaceTextContent(oDayPart, sDayPart);
         }
02/23/2012
472 Error in Code on pages 472-473
               
this.carinfo = car;     // INCORRECT
this.carinfo = Car;     // CORRECT
Appears on page 472 on the 8th line of code and on page 473 on the 8th line of code.
12/16/2010
495 Error in Code
Near bottom of page it should read:

declare as undefined

NOT

declare as null
12/16/2010
602 Error in Code
document.getElementById("myTextArea").scrollHeight

should be:
document.getElementById("output").scrollHeight
5/13/11
603 Error in Code
document.getElementById("myTextArea").scrollHeight

should be:
document.getElementById("output").scrollHeight
5/13/11
648 Error in Code
document.getElementById("myTextArea").scrollHeight

should be:
document.getElementById("output").scrollHeight
5/13/11
See More
Buy Both and Save 25%!
+

JavaScript Bible, 7th Edition (US $49.99)

-and- Windows PowerShell 2.0 Bible (US $39.99)

Total List Price: US $89.98
Discounted Price: US $67.48 (Save: US $22.50)

Buy Both
Cannot be combined with any other offers. Learn more.

Related Titles

Back to Top