Errata
Submit your own errata for this product.
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question
| Version | Location | Description | Submitted By |
|---|---|---|---|
| Safari Books Online | 24 Code |
document.getElementById("rockImg").src does not work correctly. |
Daniel Hirschlein |
| Printed | Page 43 3rd Paragraph of left column (Variable's dialogue) |
In third line of paragraph, the word "to" is repeated: |
Anonymous |
| Printed | Page 59 middle of sample code |
the placeOrder function should take in the form object as a parameter in order for the form.submit() to |
Anonymous |
| Printed | Page 59,73 Definition of placeOrder function |
The placeOrder function takes an HTML form as an argument, but the placeOrder() declaration is missing the "form" should be: |
Robert Porter |
| Page 62 The answer of 2nd question |
"The good news it that it isn’t terribly difficult to ..." should be "The good news is that it isn’t terribly difficult to ..." |
pcchee | |
| Printed | Page 71 first paragraph |
CURRENT: |
Anonymous |
| Printed | Page 73 start of sample code |
The sample code on page 73 and 74 won't work because the form in "form.submit()" does not have |
Anonymous |
| Printed | Page 78 Code snippets between the arrows |
parseInt("18") and parseInt("3 dozen") should be parseDonuts("18") and parseDonuts("3 dozen") |
Kevin Sikes |
| Printed | Page 81 13th question of the puzzle |
"13. An piece of data with an on/off value would be stored as this data type" |
Cezar El-Nazli |
| Printed | Page 94 1st paragraph |
Code for setTimeout() points to the following URL: "http://www.headfirstlabs.com/books/hfsd/" instead of |
Anonymous |
| Printed | Page 96 top |
In the "Sharpen your pencil Solution" at the top of page 96, the comment about the millisecond |
Anonymous |
| Printed | Page 103 first 'arrow' annotation to illustration |
example shows the property to get the height of the client window to be clientWindowHeight - it should |
Anonymous |
| Printed | Page 104 Sample code |
I think the code for resizing the rock should work in XHTML compliant pages or it shouldn't be in the |
Anonymous |
| Printed | Page 122 Code Way Up Close |
In the touchRock function, the operation of getting the userName first is missing. |
Anonymous |
| Printed | Page 123 Cookie Example |
Can't get any of your examples to write the cookie. Cookies are enabled. |
Bill Slaughter |
| Printed | Page 140 last sentence |
The last sentence ends with |
Anonymous |
| Safari Books Online | 172 2nd paragraph under "Global Variable" |
"your" is mis-typed as "you're" |
Harry Spriggs |
| Printed | Page 201 top of 3rd column |
I believe the word "inconventional" s/b "unconventional". |
Anonymous |
| Printed | Page 217 2nd paragraph |
The sentence |
Anonymous |
| Printed | Page 226 2nd to last sentence on page |
The sentence - |
Anonymous |
| Printed | Page 234 sharpen your pencil solution |
In the fourth line of the solution the variables i and j need to be switched, right now it says: |
Anonymous |
| Printed | Page 237 2nd paragraph |
Under the second large paragraph with the seat# functions, <img id="seat14" src=" alt="" /> is missing a quotation mark under src=. It should be <img id="seat14" src="" alt="" /> instead. |
Anonymous |
| Printed | Page 261 Sidenote pointing to thermostat picture |
The sentence |
Anonymous |
| Printed | Page 274 There are no Dumb Question. Answer #3 in the 2nd paragraph |
Original text |
Anonymous |
| Printed | Page 295 Title at the top of the page |
the title |
Anonymous |
| Printed | Page 300 highlighted code |
I'm not sure if you would consider this a mistake. I think that I read in the XHTML Head First |
Anonymous |
| Printed | Page 309 Second question on left |
Perhaps I am misunderstanding this, but on page 309 it says |
Anonymous |
| Printed | Page 321 to the right of the only paragraph on the page |
there is a "/d/" which is right of the paragraph. It points towards "catch22", but if it's pointing to |
Anonymous |
| Printed | Page 336 the examples below the 2nd paragraph |
You give 2 examples of character classes, one is /d[iu]g/ and the other is /$d[d.]/ . Shouldn't that |
Anonymous |
| Printed | Page 338 "Sharpen your pencil Solution", second answer |
On page 338, the answer key shows the answer is return |
Anonymous |
| Printed | Page 339 1 across |
The crossword clue asks for the JavaScript object that supports regular expressions and the answer is |
Anonymous |
| Printed | Page 373 style tag found on the right side of the page |
font-color should just be color. font-color is not a valid css property. |
Anonymous |
| Printed | Page 384 Second code sample |
I think the second code sample should actually be this: |
Anonymous |
| Printed | Page 384 2nd paragraph? |
I think this line on page 384 of H.F. java script: |
Anonymous |
| Printed | Page 434 in picture as well as code on bottom exercise |
The ceiling function doesn't work in either Firefox or IE. Is it in this version of the standard? |
Anonymous |
| Printed | Page 488 First sentence of last paragraph |
The sentence |
Anonymous |
| Printed | Page 497 1st paragraph |
I think that's not correct that 'undefined' and 'not defined' mean exactly the same thing. |
Anonymous |
| Printed | Page 560 Bullet Points |
The last Bullet Point appears to be truncated. All it says is "The send() method of the AjaxRequest object" .... |
DJPJ |
| Printed | Page 560 Bullet Points box |
Final bullet point is incomplete. "The send() method of the AjaxRequest object" |
Anonymous |
| Printed | Page 568 top |
Not sure if this has been mentioned(just joined forum). |
Jeffrey Yee |
