Wrox Home  
Search

Topic: Web

Professional Ajax (0471777781) cover image

Professional Ajax

Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett
ISBN: 978-0-471-77778-6
Paperback
432 pages
February 2006
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
2 34 Error in Text/Code
Page 34, bottom of page next to last line of code:

Text reads:
throw new Error("XMLHttp object could be created.");

It should read:
throw new Error("XMLHttp object could not be created.");
07/20/2006
3 59 Error in Code
Chapter 3, page 59, gray code block at top of page 5th line from end:

Text reads:
<option>Male</option></option>Female</option>

It should read:
<option>Male</option><option>Female</option>
07/20/2006
99 Error in Code (twice a line)
The first code snippet reads:

var oCurrentChild = aBooks[i].firstChild;

do {
switch (oCurrentChild.tagName) {
case "title":'
sTitle = oCurrentChild.text;
break;
case "author":
sAuthor = oCurrentChild.text;
break;
case "publisher":
sPublisher = oCurrentChild.text;
break;
default:
break;
}
oCurrentChild = oCurrentChild.nextSibling;
} while (oCurrentChild = oCurrentChild.nextSibling);


The first code snippet should read:


var oCurrentChild = aBooks[i].firstChild;

do {
switch (oCurrentChild.tagName) {
case "title":'
sTitle = oCurrentChild.text;
break;
case "author":
sAuthor = oCurrentChild.text;
break;
case "publisher":
sPublisher = oCurrentChild.text;
break;
default:
break;
}
} while (oCurrentChild = oCurrentChild.nextSibling);
05/08/2006
109 Error in Text
second line:
ORDERED_NOE_ITERATOR_TYPE

should be:
ORDERED_NODE_ITERATOR_TYPE
4/24/06
4 110 Error in Code
gray code block at bottom of page, first line:
var sNameSpace = "xmlns:na='http://site1.com' xmlns:pub='http://site2.com'";

should be:
var oNameSpace = {"na":"http://site1.com", "pub":"http://site2.com"};
12/21/2007
4 111 Error in Code
gray code block at top of page, first line:
var oNodes = zXPath.selectNodes(oRoot, sXPath, sNameSpace);

should be:
var oNodes = zXPath.selectNodes(oRoot, sXPath, oNameSpace);
12/21/2007
Printer-Ready Version   Share This
With you wherever you go: pdf + ePub + kindle -- DRM-free