public marks

PUBLIC MARKS from sunborn with tag ajax

13 March 2006 10:45

Web / Programming / JavaScript -

by 2 others
javascript tutorials, tips, and other resources

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

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.