Ajax Bible
In This Chapter
-
Creating XMLHttpRequest objects
-
Configuring XMLHttpRequest objects
-
Handling data downloads from the server using anonymous functions
-
Fetching text data from the server
-
Passing data to the server using Ajax and the GET and PUT HTTP methods
-
Fetching and decoding XML data from the server
-
Fetching XML data from the server by passing data to the server
It’s time to write some Ajax. In this chapter you see how to write complete Ajax applications from soup to nuts. In particular, you’re going to see how to create and work with the XMLHttpRequest object. Because this object is the central object on which Ajax is based, the XMLHttpRequest object is going to be at the very heart of all the Ajax applications you write.