Ajax Hacks

Errata for Ajax Hacks

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 xii
Contributors

Please add: Buzzword compliant since 1985, Jason Levitt is an expert in optimal diverse coherent hybrid multi-tier heuristic effects. His recent book on web services (www.awsbook.com) is decidely buzzword-free, but nonetheless paradigm busting. A journalist and programmer, he's currently a Technical Evangelist for Yahoo!, helping manage the flow of web services into the real world. Though he has no blog, you can let loose a stream of his geekage by putting "Jason Levitt" (use the quotes) into your favorite search engine.

Anonymous   
Printed
Page 5
top

the setHeader() method should be setRequestHeader()

Anonymous   
Printed
Page 6
middle of the page

The JavaScript variable request is to a top-level variable that will.... should be: The JavaScript variable request is a top-level variable that will.... pg. 6-7, clarification; It might be clearer to the reader that the second call to request.open() below be written the same as the first: request.open("GET",theURL,true); if(window.XMLHttpRequest){ request = new XMLHttpRequest( ); request.onreadystatechange=handleResponse; request.open("GET",theURL,true); request.send(null); } else if (window.ActiveXObject){ request=new ActiveXObject("Microsoft.XMLHTTP"); if (! request){ request=new ActiveXObject("Msxml2.XMLHTTP"); } if(request){ request.onreadystatechange=handleResponse; request.open(reqType,url,true); request.send(null); } }

Anonymous   
Printed
Page 21
2nd and 6th lines

<h3 /> should be </h3> <h4/> should be </h4>

Anonymous   
Printed
Page 21
Line 10

info+= " : "+nds[i].firstChild.nodeValue+""<br />"; should be info+= " : ""+nds[i].firstChild.nodeValue+""<br />";

Anonymous   
Printed
Page 27
function handleResponse( )

Hack 6: 2nd and 3rd line of bold code /* Check if the return value is actually a number. If so, multiple by the number of shares and display the result */ Should say: /* Check if the return value is actually a number. If so, multiply by the number of shares and display the result *

Anonymous   
Printed
Page 39
function handleResponse( )

Hack 8, a third of the way down the page Says: /* Check if the return value is actually a number. If so, multiple by the number of shares and display the result */ Should say: /* Check if the return value is actually a number. If so, multiply by the number of shares and display the result */

Anonymous   
Printed
Page 40-
entire hack

Hack #8 on Safari: First instance of tRy in mixed case; Under Floored Server, "The inner tRy block..." Second instance: "If you do not include this TRy/catch/finally mechanism," Third instance: "cannot find at the URL you provided are captured with this TRy statement." fourth: "so this is where you have to position your TRy/catch/finally statement" fifth: "This type of error is also caught by the code's TRy/catch/finally statement."

Anonymous   
Printed
Page 86
First word

'register' should read 'to register' so as to follow on from the last word on the previous page

Anonymous   
Printed
Page 90
Second paragraph

"You don't need to show" should read "You don't need to see"

Anonymous   
Printed
Page 90
Last paragraph

"value in as a string" should be "value as a string"

Anonymous   
Printed
Page 236
2nd code sample near bottom of page

The line of xml on the 2nd line of the 2nd code sample reading: "/[name of web app]/dwr/interface/JsBean.js"> should read: "/[name of web app]/dwr/interface/JsBikeBean.js"> ^^^^

Anonymous