Despite appearances, setting up basic Ajax functionality is not that difficult. It involves three main parts: making the server call, having the server process the call, and then filtering the data that comes back. This can be as simple as grabbing a chunk of HTML code from the server to place on the current page, or as complex as submitting multiple variables to a database to update a 3D map of the earth. Let's start with the simple stuff.
In this chapter, you will learn how to do the following:
Let's get started with an overview of how Ajax code works by sending requests to the server.