3. XMLHttpRequest

The Object of the Game

The XMLHttpRequest object isn't part of the DOM. Until recently, it wasn't part of any W3C specification. The success of Ajax has spurred the World Wide Web Consortium into unusually swift action. You can now find a working draft of a specification for the XMLHttpRequest object on the W3C site (www.w3.org/TR/XMLHttpRequest/).

Origins

The idea for an object that can communicate between the client and the server originated with Microsoft. The developers of Microsoft's Web-based mail client, Web Access 2000, needed some way of asynchronously transferring information to and from the browser. The development team for Microsoft Internet Explorer scratched that itch. Internet Explorer 5.0 for Windows was the ...

Get Bulletproof Ajax now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.