Datasheet
And you can see the diary’s response in Figure 1.28.
FIGURE 1.28
The diary indicates where it is.
How about a game of Ajax-enabled chess? Take a look at www.JesperOlsen.Net/PChess/,
which is shown in Figure 1.29. To move a piece, you have only to click it, then click its new position,
and the piece is moved automatically. The game sends all the needed data to the server using Ajax,
behind the scenes, and gets the data it needs back. Then it uses CSS to move its piece accordingly.
FIGURE 1.29
Playing Ajax chess
23
Essential Ajax
1
06_102633 ch01.qxp 2/23/07 9:44 PM Page 23