The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
| Version |
Location |
Description |
Submitted By |
Date Submitted |
Date Corrected |
| Printed |
Page ix
Table of Contents |
"4.5 A Second Helping: devloping dom applications"
should be:
"4.5 A Second Helping: developing dom applications"
|
Anonymous |
|
|
| Printed |
Page xviii
1st paragraph |
"what's you've learned" should be "what you've learned"
|
Anonymous |
|
|
| Printed |
Page xxxi
2nd paragraph |
;he always sees to know just what's missing.
should read:
;he always seems to know just what's missing.
|
Anonymous |
|
|
| Printed |
Page xxxi
3rd paragraph |
"...you just keeping doing these Head First books..."
should be:
..."you just keep doing these Head First books..."
|
Anonymous |
|
|
| Printed |
Page xxxi
(beginning of 5th paragraph) |
"...You simple can't do..."
should be:
"...You simply can't do..."
|
Anonymous |
|
|
| Printed |
Page 9
Work it through, the arrow on the right |
"Answers on page 9"
should be:
"Answers on page 63"
|
Anonymous |
|
|
| Printed |
Page 13
last block of text on page |
<span> elements don't create a new block of text, but can still by
styled with CSS.
should read:
<span> elements don't create a new block of text, but can still be
styled with CSS. ^^
|
Anonymous |
|
|
| Printed |
Page 17
FAQ: Answer to 2nd question |
In other words, it's sort of like an aniti-value.
should read:
In other words, it's sort of like an anti-value.
|
Anonymous |
|
|
| Printed |
Page 31
Third handwritten note |
"You'll added this Javascript"
sould be:
"You've added this Javascript"
|
Anonymous |
|
|
| Printed |
Page 38
First paragraph |
"When you think about a web appl,"
should be
"When you think about a web app," (or a web application)
|
Anonymous |
|
|
| Printed |
Page 49
'Work It Through' box |
There is no indication of where the answers are located (similar to the 'Work It
Through' box on page 9)
There should be an 'Answers on page 63.' notice somewhere on that page.
|
Anonymous |
|
|
| Printed |
Page 53
Just Do It Solutions |
This is referring to text-utils.js
I am not an expert on Javascript but to the best of my knowledge childNode.normalize
does not exist. I cannot find any reference to it on Google.
Also childNode.nodeType returns an integer, not a text value.
So by commenting out childNode.normalize() and changing childNode.nodeType == 3 I was
able to get the code running.
|
Anonymous |
|
|
| Printed |
Page 71
var phone = document.getelementbyid('phone').value should be linked |
to updatePage() NOT getCustomerinfo();
|
Anonymous |
|
|
| Printed |
Page 75
3rd hand-written note on the right |
"enter a different address if the want" should be "enter a different address if he
wants"
|
Anonymous |
|
|
| Printed |
Page 86
1st hand-written note on the left |
"Since requset isn't created" should be "Since request isn't created"
|
Anonymous |
|
|
| Printed |
Page 100
First column, first answer |
So all you need to do in your code is use the t variable.
should read
So all you need to do in your code is use the request variable.
|
Anonymous |
|
|
| Printed |
Page 108
1st paragraph |
"...and you're written a lot of new Javascript..."
should be:
"...and you've written a lot of new Javascript..."
|
Anonymous |
|
|
| Printed |
Page 109
Blueprints revisited, 1st line |
"You haven't fogotten" should be "You haven't forgotten"
|
Anonymous |
|
|
| Printed |
Page 109
'Handwritten' note pointing to request.responseText |
'...store the server's reponse in...' should be
'...store the server's response in...'
|
Anonymous |
|
|
| Printed |
Page 121
Break neck pizza screenshot |
The textboxes on the screenshot should be inverted (order first, address last)
|
Anonymous |
|
|
| Printed |
Page 125
var phone = document.getelementbyid('phone').value should be linked |
to updatePage() NOT getCustomerinfo();
|
Anonymous |
|
|
| Printed |
Page 133
3rd paragraph |
"There's a different between the state..."
should be:
"There's a difference between the state..."
|
Anonymous |
|
|
| Printed |
Page 146
dowloaded example script coffeemaker.php |
open coffeemaker.php script
on line 5 replace:
$coffeemaker = $_REQUEST['drink'];
with:
$coffeemaker = $_REQUEST['beverage'];
Otherwise, the two alert boxes that signal the end of the coffee
brewing for the two users will break.
|
Anonymous |
|
|
| Printed |
Page 146
This is in error in the errata! |
The errata for 146 shows this:
|
Anonymous |
|
|
| Printed |
Page 146
dowloaded example script coffeemaker.php |
open coffeemaker.php script
on line 5 replace:
$coffeemaker = $_REQUEST['drink'];
with:
$coffeemaker = $_REQUEST['beverage'];
Otherwise, the two alert boxes that signal the end of the coffee
brewing for the two users will break.
BUT it should be $beverage = $_REQUEST['beverage']; and NOT
$coffemaker =...
|
Anonymous |
|
|
| Printed |
Page 147
2nd paragraph (handwritten paragraph on left) |
"The web page displays the status of the each coffee maker."
should be:
"The web page displays the status of each coffee maker."
|
Anonymous |
|
|
| Printed |
Page 149
2nd paragraph (step 4) |
"Now, Jim has has mocha ..." should be
"Now, Jim has mocha"
|
Anonymous |
|
|
| Printed |
Page 152
1st paragraph |
"We've gone ahead and written the HTML for placing and order..."
should be:
"We've gone ahead and written the HTML for placing an order..."
|
Anonymous |
|
|
| Printed |
Page 156
First answer in Q&A box |
We decided to put the sendrequest() function in the ajax.js file.
should read:
We decided to put the sendrequest() function in the coffee.js file.
|
Anonymous |
|
|
| Printed |
Page 156
1st paragraph after "Here's what we did..." |
"We put all the code that creates and test the request object into common.js..."
Should be:
"We put all the code that creates and test the request object into ajax.js..."
|
Anonymous |
|
|
| Printed |
Page 160
description of the sendRequest() function |
"sendRequest() sets up the callback function for the server response (serveDrink) and
sends a GET request to the URL passed in from makeFreshCoffee()."
"makeFreshCoffee()" should read "orderCoffee()".
|
Anonymous |
|
|
| Printed |
Page 173
hand-written note on the right |
"on the seecond coffee maker" should be "on the second coffee maker"
|
Anonymous |
|
|
| Printed |
Page 176
PHP ...at a glance paragraph |
On several pages, for instance 168, 170, 172, 174 etc the url for ordering the coffee
uses parameters for name, size, beverage and coffeemaker, the PHP script on page 176
uses parameters name, size, drink and coffeemaker.
|
Anonymous |
|
|
| Printed |
Page 188
Blurb pointing at first order form. |
"... your code sends a reuest to ..." should be
"... your code sends a request to ...".
|
Anonymous |
|
|
| Printed |
Page 190
1st paragraph |
"With two request objects created and ready for use, you'll need to change
updateCoffee()...."
updateCoffee() should read orderCoffee()
|
Anonymous |
|
|
| Printed |
Page 190
Note point to function sendRequest |
"..to your veresion of..." should be
"..to your version of..."
|
Anonymous |
|
|
| Printed |
Page 205
middle, box "Find an element by its 'id' attribute" |
Mg is actually magnesium, while manganese is Mn.
|
Anonymous |
|
|
| Printed |
Page 231
Box in the bottom right |
Mg is the chemical symbol for
magnesium, and Mn is the correct one for manganese.
|
Anonymous |
|
|
| Printed |
Page 236
1st paragraph (under "You can!...") |
"...with the nodeName and nodeValue proeprties..."
should be:
"...with the nodeName and nodeValue properties..."
|
Anonymous |
|
|
| Printed |
Page 237
hand-written note on the top left |
"the nodeType proeprty" should be "the nodeType property"
|
Anonymous |
|
|
| Printed |
Page 238
2nd paragraph, 3rd line |
"make sure you understsand" should be "make sure you understand"
|
Anonymous |
|
|
| Printed |
Page 249
Adding <DEFANGED_script> line to html |
IE 6.0.2900 displayed a blank page when the <DEFANGED_script> line as added as shown:
<DEFANGED_script type="text/javascript" src="top5.js" />
The page only displayed after the line was changed to:
<DEFANGED_script type="text/javascript" src="top5.js"> </script>
|
Anonymous |
|
|
| Printed |
Page 283
hand written comments to right of "Just Do It" box |
"Be sure you uses" should be "Be sure you use"
|
Anonymous |
|
|
| Printed |
Page 283
Just Do It |
The last sentence in the Just Do It box is truncated. "Once you've got that done..."
|
Anonymous |
|
|
| Printed |
Page 291
hand-written note on the bottom left |
"showConformation() gets run" should be "showConfirmation() gets run"
|
Anonymous |
|
|
| Printed |
Page 295
Team Chat, second last text balloon |
"...some servers have a maximum length that they'ss accept, to"
should be:
"...some servers have a maximum length that they accept, too"
|
Anonymous |
|
|
| Printed |
Page 301
1st hand-written note |
"... look up any responsees ..." should be
"... look up any responses ..."
|
Anonymous |
|
|
| Printed |
Page 311
POST/GET dialog, POST's last comment |
"I hear the next chapter callling" should be "I hear the next chapter calling"
|
Anonymous |
|
|
| Printed |
Page 315
Handwritten note at the bottom of the page |
"...in a fille called..." should be
"...in a file called..."
|
Anonymous |
|
|
| Printed |
Page 322
SQL Inspector, 2nd line |
"script that is requested b getCustomerInfo()" should be "script that is requested by
getCustomerInfo()"
|
Anonymous |
|
|
| Printed |
Page 327
3rd hand written notes on right |
"this time your validation detects and problem, and never" should be
"this time your validation detects a problem, and never"
|
Anonymous |
|
|
| Printed |
Page 327
hand written notes on bottom |
"PROJECT: CHAOS isn't get anybody's customer list"
should be
"PROJECT: CHAOS doesn't get anybody's customer list"
|
Anonymous |
|
|
| Printed |
Page 328
2nd paragraph |
"...your app from someone attaching you from a web front end" should be
"...your app from someone attacking you from a web front end"
|
Anonymous |
|
|
| Printed |
Page 330
1st paragraph, 1st line |
lookpuCustomer.php should be lookupCustomer.php
|
Anonymous |
|
|
| Printed |
Page 339
last paragraph |
"Server: What goes is zander..."
should be:
"Server: What good is zander..."
|
Anonymous |
|
|
| Printed |
Page 346
PHP ...at a glance |
line:
echo "<? xml version="1.0" encoding="utf-8"?>
is missing "; from the end
|
Anonymous |
|
|
| Printed |
Page 397
Last typeset paragraph |
"...Termainal prompt:" should be
"...Terminal prompt:"
|
Anonymous |
|
|