Errata

Dynamic HTML: The Definitive Reference

Errata for Dynamic HTML: The Definitive Reference

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 Note Update

Version Location Description Submitted by Date submitted
Printed Page X
above Safari Enabled:

There is a typo on Preface page X above Safari Enabled:

If you feel your use of code examples falls outside fair use or
thempermission given above, feel free to contact us at permissions@oreilly.com.

Anonymous  Mar 23, 2011 
Printed Page 73
<datalist> section

So far as I can tell, the <datalist> tag does *not* exist in IE or
Firefox (or at all?).

Anonymous   
Printed Page 341
Entire Listing for scrollLeft, scrollTop

It might be worth mentioning in future releases that these properties are only available under
document.body in quirks mode ... If you have a DOCTYPE defined, these properties will exist
under document.documentElement.scrollTop instead. Same goes for scrollLeft.

Anonymous   
Printed Page 343
At the top of the page, concerning the textContent attribute

My printing (03/07) indicates that Safari does not support the textContent attribute. My testing
tells me that it does. IE7 still does not however. No surprise.

Anonymous   
Printed Page 371
Top line

scrollIntoView() is support on Netscape Navigator and Mozilla browsers (and was referenced as
being supported in Edition 2)

Anonymous   
Printed Page 616
maxlength property near bottom of page

The maxlength property listed on the page should be maxLength. The same goes for the example for
this property.

Anonymous   
Printed Page 703
Under "Range" section, second paragraph, first sentence.

"A Range object is created via the document.createTextRange() method...."

This is the documentation for the W3C DOM Range object, which is created with the document.createRange() method. createTextRange() is an MSIE TextRange method.

Steven Peckins  Aug 05, 2010 
Printed Page 753
Last example on the page

The first line of the example is as follows:

if (document.getElementById("myDIV").style.blockDirection = "rtl") {

There should be two equal signs for the comparision to function:

if (document.getElementById("myDIV").style.blockDirection == "rtl") {

Anonymous   
Printed Page 814
last 2 heads

tags() and urns() are general methods and not sub-heads of tBodies. This appent error was also present in the 2nd edition. This is particularly confusing as tags() is the IE equivalent to tags in other browsers.

Malcolm New  Apr 16, 2010 
Printed Page 815
middle of page

.tfoot should be .tFoot
.thead should be .tHead

Anonymous   
Printed Page 838
Range definition: 2nd paragraph

The paragraph states "A Range object is created via the document.createTextRange() method...".
This is not the case. It should read "...via the document.createRange() method." This is
confirmed in the later "Object Model Reference" which lists "document.createRange()".

I have the 2nd edition, but I've confirmed that this incorrect reference still exists in the 3rd
edition.

Anonymous   
Printed Page 1012
text-decoration, value section, last 3 words

The statement, "....but Mozilla ignores blink." is not correct.
Internet Exporer ignores "blink", all Mozilla Browsers recognize "blink".
I tested in Firefox 1.5 and 2, Opera 9.1, and Netscape 4.79, 7.2 and 8.1
(they all blinked). Internet Explorer 5, 6 and 7 did not blink.

Anonymous   
Printed Page 1126
Heading

Pages 1126 thru 1150 have an incorrect page heading.
They all read 'XMLList' rather than the Operator/Control statement being covered on each page.
The expected heading would be similar to those seen on pages 956 thru 977 of the first edition.

Anonymous   
Printed Page 1127
Page title

From 1127 to 1150 the page title is "XMLlist" rather than the current topic (eg "Operators" for
p 1127, "Control Satements" for p1140

Anonymous   
Printed Page 1297
Between "I" and "K"

On my 03/07 printing of this book [purchased from Amazon in Nov, 08] it is missing the "J" section from the Index. That's right, the index goes from A-I to K-Z with no "J" section in between.

The J section in the 2nd edition is half a column long, I suspect it'd be longer in the 3rd edition. This should be fixed ASAP.

Bart Grantham  Dec 05, 2008