Wrox Home  
Search

Topic: Web

Beginning JavaScript, 2nd Edition (0764555871) cover image

Beginning JavaScript, 2nd Edition

Paul Wilton
ISBN: 978-0-7645-5587-9
Paperback
1032 pages
May 2004
View Most Recent Edition of This Title
This title is out-of-print and not currently available for purchase from this site.


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
59 Error in Code
3rd line from bottom of page in code:
will holds

should be:
will hold
5/30/05
68 Error in Code
Code block, 4th line of code:
<pre>
var degFahren = prompt("Enter the degrees Fahrenheit", 32);
</pre>

should be:
<pre>
var degFahren = Number( prompt("Enter the degrees Fahrenheit", 32) );
</pre>
5/30/05
78 Error in Code
Last code block 4th line:
if(myAge = 5)

should be:
if(myAge == 5)
8/24/05
78 Error in Text
Last code block 6th line:
Your

should be:
You are
8/24/05
120-121 Website Error
Web site errata only! No book correction:

"On reflection the section describing the two functions substr() and substring() using input parameters (0,4) for both functions is a bad example because it gives the same result - "Java" - for both functions but code does actually work ok."
5/30/05
121 Error in Code
2nd code block line 2:
(fileName.lastIndexOf("\")

should be:
(fileName.lastIndexOf("/")
5/30/05
124 Error in Code Block
Code block, 4th code line from bottom (last "document.write" line):

document.write("</table>")
should be:
document.write("</table>");
5/30/05
132 Error in Text, 2nd Paragraph, 1st Sentence
2nd paragraph 1st sentence:

Just like string copying with substr() and substring(), the start point is included in the copy, but the end point is not.

should be:

Just like string copying with substring(), the start point is included in the copy, but the end point is not."
5/30/05
137 Error in Code
page 137, last shaded line of code on page:

Code reads:
myDateObject

Should be:
ourDateObj
08/10/2006
150 Error in Code
6th and 8th lines of code:

persons
should be:
person\'s

In both places
5/30/05
172 Missing Image Files
In the first paragraph, the 4 image files mentioned were left out of the code download. They are now available as a separate download on the download page for the book.
8/24/05
172 Error in Code
first line of code:
<img name=img0 SRC="usa.gif" border=0 >

should be:
<img name="img0" SRC="usa.gif" border=0 >
4/14/06
375, 376, 378 Inconsistencies in Code Block and Fig 10-10 and 10-13
Errata explanation only, no text correx

p375 code block, p376 fig 10-10, p378 fig 10-13:

In the code block on page 375, the <div> tag is used but is replaced by the <P> tag in both figures 10-10 and 10-13 on later pages. While inconsistent, both approaches work.
5/30/05
379 Missing Icon on Page
Next to last paragraph:

Add the same icon by this paragraph as the one by the last paragraph on page
5/30/05
380 Delete Icon
First paragraph:

Delete the icon by this paragraph
5/30/05
394 Typo in Paragraph
Next to last paragraph, first line:

right-hand
should be:
left-hand
5/30/05
402 Error in Code
11th line in the code box on this page:
alert("Error is " + exception.message)

should be:
alert("Error is " + exception.message);
5/30/05
405 Error in Indention
The last line:

Should be indented to the left of the brace on the line above.
5/30/05
12 449 Error in 2nd shaded example, line 10
Text reads: <p class="heading1">A Heading in dark blue verdana 24 point</p>
It should read: <p class="heading1">A Heading in orange verdana 24 point</p>
9/20/04 1
12 450 Error in 3rd to last line
Text reads: <div><p>My Para</p><div>
It should read: <div><p>My Para</p></div>
9/20/04 1
461-990 innerhtml should be innerHTML
multiple occurrences on all of the following pages:
p 461 first paragraph
p 462 heading
p 462 paragraph following heading
p 462 paragraph following shaded code line
p 463 first paragraph
p 463 paragraph following code list in middle of page 2 places
p 464 paragraph following try it out heading
p 464-465 code listing 3 places (change initial cap i to lower case i in 3rd place as well)
p 465 last paragraph
p 466 2nd paragraph, 3rd paragraph, 5th paragraph, 8th paragraph
p 468 first paragraph
p 468 first code listing (change initial cap i to lower case i as well)
p 468 4th paragraph and 5th paragraph
p 468 4th code listing
p 469 1st paragraph, 2nd paragraph
p 519 5th bullet
p 569 last paragraph 2 places
index page occurrences: p 962, 972, 983, 990
12/3/04
461-993 outerhtml should be outerHTML
multiple occurrences on all of the following pages
p 461 first paragraph
p 462 heading
p 462 paragraph following heading
p 462 paragraph before the last code line on page
p 463 first paragraph
p 463 paragraph following code list in middle of page 2 places
p 464 paragraph following try it out heading
p 464-465 code listing 3 places
p 465 last paragraph
p 466 2nd paragraph, 8th paragraph
p 466 last paragraph 2 places
p 467 paragraph following figure
p 468 first paragraph
p 468 first code listing
p 468 4th paragraph and 5th paragraph
p 468 4th code listing
p 469 1st paragraph, 2nd paragraph
p 519 5th bullet
index page occurrences: p 972, 993
12/3/04
555 Error in first code example, shaded part

On both lines: "...handle(event)"

Should read: "...handlekey(event)"

10-06-2004 1
571 Error in Code
page 571, shaded code block at bottom of page:

Delete:
First 2 lines of this code.
08/10/2006
601 Error in text, 7th paragraph, 2nd line

The text: ...special characters a character...

Should read: ...special characters as character...

10-06-2004 1
14 602 Error in text, 3rd highlighted area

The text: <!--don't show these

Should be: <!--don't show these-->

10-06-2004 1
14 619 Error in text, Shaded example, 15th line
The 15th line of code should read:
else if (document.implementation && document.implementation.createDocument)
Instead of:
else if (.implementation && document.implementation.createDocument)
10-06-2004 1
781 4th paragraph, 1st line
upDateTimeLeft() should be updateTimeLeft()
10/19/04
792 Error in Code
shaded code example, 2nd to last line:
('quizpage.asp')

should be:
('QuizPage.asp')
10/19/04
802 Delete Lines in Code Block
Beginning with line 19 of code block, delete the following 4 lines:

If (timesTable == -1)
{
break;
}
5/30/05
Printer-Ready Version   Share This
With you wherever you go: pdf + ePub + kindle -- DRM-free