Tuesday, February 14, 2006

Mastering Ajax, Part 2: Make asynchronous requests with JavaScript and Ajax

Mastering Ajax, Part 2: Make asynchronous requests with JavaScript and Ajax: "Mastering Ajax, Part 2: Make asynchronous requests with JavaScript and Ajax

Use XMLHttpRequest for Web requests
developerWorks

Level: Intermediate

Brett McLaughlin (brett@newInstance.com), Author and Editor, O'Reilly Media Inc.

17 Jan 2006

Most Web applications use a request/response model that gets an entire HTML page from the server. The result is a back-and-forth that usually involves clicking a button, waiting for the server, clicking another button, and then waiting some more. With Ajax and the XMLHttpRequest object, you can use a request/response model that never leaves users waiting for a server to respond. In this article, Brett McLaughlin shows you how to create XMLHttpRequest instances in a cross-browser way, construct and send requests, and respond to the server."

No comments: