Go To Homepage



Book Details
Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional book cover
  • By Christian Heilmann
  • ISBN13: 978-1-59059-680-7
  • ISBN10: 1-59059-680-3
  • 512 pp.
  • Published Jul 2006
  • Print Book Price: $39.99
  • eBook Price: $27.99



Errata Submission

If you think that you've found an error in Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

Submit Errata
Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional (978-1-59059-680-7)

Errata

Issue Author's Response
Chapter 5, page 129.

The code for exampleClassChange.html has an @import directive to "dynamic.css", but the accompanying stylesheet is then presented on the next page under the name "classChange.css". This example doesn't work unless we name the CSS file dynamic.css, or change the embedded stylesheet in the HTML file to say @import "classChange.css";
what he said
Chapter 5
Page No. 177

Issue:
I don't know if you already know about this bug in "keyChecking.js" since the version of "keyChecking.js" in your accompanying source code is functional.

Either:

"var message = document.createTextNode(voucherCheck.errorMessage)"
->
"var msg = document.createTextNode(voucherCheck.errorMessage)"

Or:

"voucherCheck.error.appendChild(msg)"
->
"voucherCheck.error.appendChild(message)"
message is easier to read
Chapter 1
Page 14

Issue:

The comment:

"// Or if the width of the screen is less than 1000 pixels"

Shouldn't it be:

"// Or if the width of the screen is greater than 1000 pixels"

assuming that the comment is accompanying the piece of code:

... if (screen.availWidth > 1000) { ...

?
Yes that should be fixed the way they explained
Chapter 4, pge 105... the check date example not working, after comparing code to working online example... looks like the printed version missing a ---   --- in between
<span class="error"></span>... code would not work without... i would get an error message .firstChild has no properties without it... must there be something there ir order to target it?
Yes, a space would solve that issue.