Wrox Programmer Forums
|
BOOK: Professional Ajax ISBN: 978-0-471-77778-6
This is the forum to discuss the Wrox book Professional Ajax by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780471777786
Important: For the new 2nd edition of this book, please post here instead: [url="http://p2p.wrox.com/forum.asp?FORUM_ID=307"]http://p2p.wrox.com/forum.asp?FORUM_ID=307[/url]
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax ISBN: 978-0-471-77778-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 15th, 2006, 01:09 PM
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4 Example Code Errors

While trying to run the examples from Chapter 4, I get an error stating that "Your browser doesn't support an XML DOM document" on line 2, char 1529 using IE6.

When trying to view the zxml.js file, the code is displayed on one line, no matter what viewer/editor I use.

Usng Firefox 1.5.0.6 I get the following:

Error: missing catch or finally after try
Source File: file:///C:/download/777781Pro_AJAX/Ch04/XSLT/Best%20Picks%20Revisited/zxml.js
Line: 1, Column: 183
Source Code:
);}else if($a.useActiveX){if(!$a.XMLHTTP_VER){for(var i=0;i<$a.ARR_XMLHTTP_VERS.length;i++){try{new ActiveXObject($a.ARR_XMLHTTP_VERS[i]);$a.XMLHTTP_VER=$a.ARR_XMLHTTP_VERS[i];break;};catch($e){}}};if($a.XMLHTTP_VER){return new ActiveXObject($a.XMLHTTP_VE

Error: zXmlHttp is not defined
Source File: file:///C:/download/777781Pro_AJAX/Ch04/XSLT/Best%20Picks%20Revisited/book.htm
Line: 9

When trying to view the zxml.js file, the code is displayed on one line, no matter what viewer/editor I use.

Any suggestion on how to get these Chapter 4 examples to run? It seems it is related to the zxml.js file.

Marty
 
Old August 25th, 2006, 09:49 PM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Marty,

Please download the latest zXml version from http://www.nczonline.net/downloads/.

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/
 
Old September 28th, 2006, 03:34 PM
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nicholas:

I am using the latest 777781Pro_AJAX.zip from the download area. No change.

Marty

 
Old September 28th, 2006, 03:40 PM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

 Marty,

Please download the latest zXml version from http://www.nczonline.net/downloads/.

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 10 code errors in the book GranDad BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 January 26th, 2007 12:25 AM
Chapter 6 Try It Out errors Voltron ASP.NET 2.0 Basics 0 August 9th, 2006 01:42 AM
Chapter 8, Report Scripting, Code errors jmurdock BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 5 June 23rd, 2004 11:50 AM
Errors in Code; Chapter 14, pages 566-567 ou812 BOOK: Beginning ASP 3.0 10 June 20th, 2004 09:43 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.