Subject: zxml library
Posted By: keodark Post Date: 2/13/2006 3:18:05 PM
I just tried out your Chapter 2 example XMLHttp Example 1, and I have the following problem.

Upon loading the XMLHttpExample1.htm page, my JavaScript console gives this error:

Error: missing catch or finally after try
Source File: http://localhost/Test2/zxml.js
Line: 1, Column: 183
Source Code:
);}else if($a.useActiveX){if(!$a.XMLHTTP_VER){for(var i=0;i<$a.ARR...

I am using Mozilla Firefox 1.0.4. I also tried this in IE 6.0, where it did not work, but there was no error message.



Reply By: nzakas Reply Date: 2/13/2006 8:47:08 PM
It looks like something happened to the code, I've alerted the publisher and new code should be uploaded soon. In the meantime you can download the updated code at http://www.nczonline.net/downloads/ .

Regards,
Nicholas

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/
Reply By: EzyEric Reply Date: 2/14/2006 6:05:43 PM
That new code fixed it, thanks.


Go to topic 10460

Return to index page 370
Return to index page 369
Return to index page 368
Return to index page 367
Return to index page 366
Return to index page 365
Return to index page 364
Return to index page 363
Return to index page 362
Return to index page 361