Errata

Ajax Design Patterns: Rough Cuts Version

Errata for Ajax Design Patterns: Rough Cuts Version

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. 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.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page xiii
Last line under the heading Conventions in Code Examples

for the sake of clarify
should be
for the sake of clarity

Anonymous   
Printed
Page 3
2nd paragraph

wait five seconds a web page
should be
wait five seconds for a web page

Anonymous   
Printed
Page 13
second bullet at top of page

Application developers are usually _interesting_ in supporting as wide a user base as possible.

should be

Application developers are usually _interested_ in supporting as wide a user base as possible.

Anonymous   
Printed
Page 26
second code snippet from the bottom

The last closing brace '}' should be removed. Thus, the code should be changed from:

window.onload = function() {
$("sandbox").innerHTML = "Click Here!<br />";
};
}

to

window.onload = function() {
$("sandbox").innerHTML = "Click Here!<br />";
};

Anonymous   
Printed
Page 27
First paragraph - demo code

Code as syntax errors.

should be:

function $(id) { return document.getElementById(id); }

window.onload = function() {
$("sandbox").innerHTML = "Click here!<br/>";
$("sandbox").onclick = function(ev) {

ev = ev || window.event;
$("sandbox").innerHTML = "Clicked at " + new Date() + ". Event: " ;

for (property in ev) {
var message = "Property " + property + ": " + ev[property] +
"<br/>";
$("sandbox").innerHTML += message;
}
};
}

Author's note: Readers can also refer to the corresponding code example in
http://ajaxify.com/tutorial/dynamic/tutorial.js - They will find at that
location the code as it should read.

Anonymous   
Printed
Page 36
Second code snippet

When calling fade(), there isn't a need to pass in 0 as the argument.

Anonymous   
Printed
Page 37
FIrst code snippet

The statement:
clearTimeout(submitTimer); // Clears any previously scheduled submission

should immediately be followed by
submitTimer = setTimeout(submitWord, 1000);

Anonymous   
Printed
Page 126
3rd paragraph

The choice is between
should be
The choice between

Anonymous   
Printed
Page 131
3rd paragraph

this pattern is a like
should be
this pattern is like

Anonymous   
Printed
Page 141
3rd paragraph

already disabled a available
should be
already disabled available

Anonymous   
Printed
Page 225
4th paragraph

the web site should be www.serversideguy.blogspot.com.

Anonymous   
Printed
Page 246
4th paragraph from bottom

those homes one the other side
should be
those homes on the other side

Anonymous   
Printed
Page 256
last paragraph

"corresponding mozilla.org article" is repeated

Anonymous   
Printed
Page 283
picture

can be easily be
should be
can be easily

Anonymous   
Printed
Page 308
3/4 way down

It fetches is the counter XML:
should be
It fetches the counter XML:

Anonymous   
Printed
Page 379
3/4 way down

The Assitive Search
should be
The Assistive Search

Anonymous   
Printed
Page 393
footnote

is outputted
should be
is output

Anonymous   
Printed
Page 395
1st paragraph

particularly gamin
should be
particularly gaming

Anonymous   
Printed
Page 427
1st paragraph

Portlest
should be
Portlets

Anonymous   
Printed
Page 432
last paragraph

while perform work
should be
while performing work

Anonymous   
Printed
Page 454
2nd paragraph from bottom

aOne-Second
should be
a One-Second

Anonymous   
Printed
Page 458
2nd bullet

"One-Second Mutation" should be italicized like the others.

Anonymous   
Printed
Page 465
4th paragraph

thePortlet
should be
the Portlet

Anonymous   
Printed
Page 521
4th paragraph

polling ithis
should be
polling this

Anonymous   
Printed
Page 557
1st paragraph

is embedded an
should be
is embedded in an

(last page) colophon;
The colophon for Ajax Design Patterns currently says that the cover
image is from Cassell's Natural History. It should actually say that it
is orginal art by Mike Kohnke.

Anonymous