View Full Version : TechTip: Access XML Web Services with JavaScript
Guest.Visitor
12-31-1969, 06:33 PM
** This thread discusses the article: TechTip: Access XML Web Services with JavaScript (http://www.mcpressonline.com/index.php?option=com_content&view=article&id=8836) **
Good Catch. The odd part is that it doesn't cause an issue on IE6, which is why the example shown worked for generating the screenshots.
Guest.Visitor
12-31-1969, 06:33 PM
** This thread discusses the article: TechTip: Access XML Web Services with JavaScript (http://www.mcpressonline.com/index.php?option=com_content&view=article&id=8836) **
Mike. Good article. Should you use a more recent version of the XML HTTP Request object? They are faster than older versions, probably have bugs worked out too. Example: http://www.wrox.com/WileyCDA/Section/id-291289.html And a browser might cache an AJAX request with the GET method (heck, POST might be cached too technically) so you might want to stick a unique query string onto the end of the URL every time like this: var noCacheDate = new Date(); var url = "http://www.somewhere.com?time=" + noCacheDate.getTime(); Chris
g11021
12-31-1969, 06:33 PM
** This thread discusses the article: TechTip: Access XML Web Services with JavaScript (http://www.mcpressonline.com/index.php?option=com_content&view=article&id=8836) **
There is missing a semicolon at the end of the first line in the script - var xmlHttp, rateString Regards Jørn
MCWebsite.Staff
12-31-1969, 06:33 PM
** This thread discusses the article: TechTip: Access XML Web Services with JavaScript (http://www.mcpressonline.com/index.php?option=com_content&view=article&id=8836) **
** This thread discusses the Content article: TechTip: Access XML Web Services with JavaScript (http://www.mcpressonline.com/index.php?option=com_content&view=article&id=8836)0
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.