Datasheet

FIGURE 1.3
The Google Suggest page
As you type, the page in the browser actually connects to the Google server and looks up matches
to the partial search term you entered. For example, type “aj,” and you’ll see a drop-down list box
appear, as in Figure 1.4, with matches found by Google as you’re typing.
FIGURE 1.4
Google Suggest looks for matches as you type.
Behind the scenes, using Ajax techniques, the Web page connects to Google Suggest and searches
for matches to your search term as you’re entering it. It then displays a drop-down list box of the
matches it’s found to your search term, letting you select from those matches all without a page
refresh. That’s the crucial point: no page refresh was necessary. In the old days, when you wanted
5
Essential Ajax
1
06_102633 ch01.qxp 2/23/07 9:44 PM Page 5