From what I've understood, this will work in IE only. Is there any way I could allow for FireFox or Mozilla to possess the same functionality that XMLHTTPRequest offers?
Printable View
From what I've understood, this will work in IE only. Is there any way I could allow for FireFox or Mozilla to possess the same functionality that XMLHTTPRequest offers?
Mozilla has support for XMLHttpRequest.
See this script, which queries the Amazon web service in IE and Mozilla:
http://www.nexgenmedia.net/gizmo/xbAmazonXMLRequest.js
Note that my particular Mozilla doesn't run this for some reason. I don't know why. It claims that the XMLHttpRequest object is not initialized.
Haven´t tested it, but this seems to work
http://www.scss.com.au/family/andrew...mlhttprequest/
Also in the comments there is some interesting stuff for you I suppose.
http://www.clagnut.com/blog/373/
Safari supports this object too.
Also, Mozilla supports document.load, which can do pretty much the same thing, but going by an official W3C Draft (DOM3 Load & Save).
Finally, Mozilla supports access to web services via WSDL proxying, which means it fetches the descriptor and creates a JavaScript object from it. I didn't manage to get this to work, though. Some security issues.
Thanks for the info, I didn't know about this.