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 |
|---|---|---|---|
| Printed | Page 18 The line: getDetails(this.title); |
On page 19 it says you can run the code from page 18 and it shows the thumbnail-detail image if you click on for example the guitar. This is not true, cause of the line getDetails(this.title); |
R. Bos |
| Printed | Page 37 Bottom Left - Relax - Confused about getting your server-side program working? |
The section says, "Flip to Appendix I for some help on getting things working on the server". |
Anonymous |
| Printed | Page 45 in the right box |
The Brazilian Portuguese version of Head First Ajax, called "Use a Cabeça AJAX" has thousands of errors. Some paragraphs doesn't make sense because of the translations errors. They changed Syncronous with Assincronous and others worse things... oh my God.... It's Terrible. But the book content is great! |
Anonymous |
| Printed | Page 68/70 code samples on both pages don't match |
Between pg 68 (and 67) and 70 there are differences in the code as follows: |
Anonymous |
| Printed | Page 68 5th code snippet |
a "}" is too much in "} else {" |
Anonymous |
| Safari Books Online | 68 Code magnet at bottom |
The code magnet that reads: |
Ian Robertson |
| Printed | Page 70 code block |
The callback function is listed as: |
Anonymous |
| Printed | Page 70 if (request = null) |
Chapter 2 |
Anonymous |
| Printed | Page 79 3d action snippet |
In Chapter 2, p.79 says: if a user clicks 'Register' button, the server returns an (empty) error form. However, it should never happen since this button has not been assigned to any action in the source code. So I'm confused, probably in the case of success the page thanks.html should be called, but it isn't referenced in the code... |
Anonymous |
| Printed | Page 81 First text box |
Page 81 describes how to modify a status element so that an image changes as a username is validated. The page has us actually make changes to the javascript, but there is no such status element in the HTML file that comes from the headfirst website. So it is impossible to test, and nowhere in the chapter does it have us add such an element. The reason why becomes clear later, eventually we use a completely different method to achieve the goal and do not need a status element. But it is kind of confusing at first, I kept looking to see if I had missed something where I needed to add the element. In the spirit of the books approach, perhaps explain this in the next printing so poor beginners like me do not worry we goofed or missed something. Thanks! |
Anonymous |
| Printed | Page 110 bottom 3 functions |
missing opening { on all 3 of the bottom functions |
Anonymous |
| Printed | Page 110 6th Line of Code |
Because references to images are gained using |
Paracelsus |
| Printed | Page 116 var contentPane |
var contentPane = getElementById("content"); |
Anonymous |
| Printed | Page 116 Next to last line |
The "correct" fill-in the blank for the next to last line is shown as "getElementById" |
Anonymous |
| Printed | Page 116 near bottom of page |
it says: |
Erik Holte |
| Printed | Page 119 function showTab() |
The 'if / else' block in showTab() will append 'Top.png' or |
Anonymous |
| Printed | Page 119 in the code example |
"Top.png" should be "TabActive.png" |
Erik Holte |
| Page 127 declaration of variable in code snippet |
The request variabele is scoped locally ('var' keyword). Making use of the initialized request object doesn't work in showSchedule() function. |
Monkeytail | |
| Printed | Page 130 Middle of highlighted code block |
<h3> and </h3> appear to be using escape characters and not the actual characters of < and >. |
Ryan Suematsu |
| Printed | Page 169 Mods for buttonOver (bottom third of page) |
Modifications to function buttonOver(): |
Anonymous |
| Printed | Page 183 Bottom left, text box |
The box on the bottom left of the page says you can download examples that match the XHTML given on the page, but the examples on the HeadFirst site do not match the code. The code on the page 182 has a "form" element and on 183 that form is closed. The downloadable sample does not have that form element, and the printed page form refers to a "registration.php" which also does not exist in the downloadable example. Perhaps related, I noticed with the downloadable example for Chapter two that it includes a "thanks.html" file but that file is never used. |
Anonymous |
| Printed | Page 183 Bottom left text box |
The text says that we can download the images from from the Head First website in order for the site to work. If you download the "Mike's Movies Files" zip it does not contain the images, you have to download the finished version in order to get them. This means that in order to read/do the chapter, you have skip to the finished version. |
Anonymous |
| Printed | Page 189 2nd bullet point |
The 2nd bullet point says the program to check passwords has a URL of "checkPass.php" This file is not included in the example you download from Head First in order to work on the chapter, in order to get it you have to download the finished website which kind of defeats the purpose. It should come with the starter code. |
Anonymous |
| Printed | Page 279 sample code for a win |
The code in the book AND the downloaded code for the fifteen puzzle does not apply the CSS to show a win in IE 7 but does in Firefox . |
Anonymous |
