Datasheet

FIGURE 1.1
Google searches for matches to the term you enter.
The screen flashes as it’s updated with new data, and the matches that Google found to your search
term appear, as you see in Figure 1.2.
FIGURE 1.2
Google displays the matches it finds.
That works OK, but that’s not the Ajax way of doing things. Using Ajax, you can work behind the
scenes, connecting to the server to get data without causing a page refresh in the browser. For exam-
ple, take a look at the Google Suggest page at
www.google.com/webhp?complete=1&hl=en,
which is shown in Figure 1.3.
4
Fundamental Ajax
Part I
06_102633 ch01.qxp 2/23/07 9:44 PM Page 4