Wrox Programmer Forums
|
BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2
This is the forum to discuss the Wrox book Beginning XML, 4th Edition by David Hunter, Jeff Rafter, Joe Fawcett, Eric van der Vlist, Danny Ayers, Jon Duckett, Andrew Watt, Linda McKinnon; ISBN: 9780470114872
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2 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 October 18th, 2009, 04:12 PM
Registered User
 
Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default JavaScript code buggy?

Hello,

Anybody still out there?
I can't get the HTTP POST call on pg 586 to work. Well, actually it works, it's just that the Success Alert message refuses to display.
On the bottom of IE7 a Error icon is displayed and when I click it IE7 tells me there's an error in the JavaScript file.

If anyone has an answer it would make me glad!

Kjell
 
Old October 19th, 2009, 04:58 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Can you double-click the error icon and let us know the error details. As far as I can remember IE7 wasn't out when that code was written so it's quite possible that it's broken in some way.
__________________
Joe
http://joe.fawcett.name/
 
Old October 19th, 2009, 05:06 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

It looks like Topic Exchange might not be providing that service anymore.
__________________
Joe
http://joe.fawcett.name/
 
Old October 21st, 2009, 03:40 PM
Registered User
 
Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default JavaScript, IE8, debugging

Hi Joe,

Thanks for answering my question, I really hadn't expected it!


I am really quite new into web development all all. Anyway, I discovered I was running IE8 and it has an inbuilt JavaScript debugger (like a mini-version of Visual Studio). Just press F12!
That way I can see that the xhHTTP.responseXML looks quite empty, e.g. the xml field is just an empty string and so on.

So you're right, the conclusion is: The code is fine - but the web site is gone.

OK, the code could have had some better error handling?
But wait...Then I wouldn't have bothered about trying to debug it and would still not know about the inbuilt debugger

Thanks again
Kjell





Similar Threads
Thread Thread Starter Forum Replies Last Post
Buggy and Faulty code in Vb sun21170 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 September 18th, 2006 08:59 PM
using javaScript in the code behind @shish ASP.NET 1.0 and 1.1 Basics 1 April 10th, 2006 03:19 PM
Search Buggy? Imar Forum and Wrox.com Feedback 4 July 29th, 2004 02:00 PM
buggy event firing in ActiveX controls pgtips Pro VB 6 6 July 10th, 2003 02:38 AM





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