Wiley.com
Get technical support for this product Print this page Share

JavaScript Bible, 7th Edition

ISBN: 978-0-470-52691-0
Paperback
1224 pages
November 2010
List Price: US $49.99
Government Price: US $25.49
Enter Quantity:   Buy
JavaScript Bible, 7th Edition (0470526912) cover image

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

Related Titles

Web Development Software

by Aaron Brazell
by Rob Huddleston
by Joseph Lowery
by Bill Sanders
by Donna L. Baker
Back to Top