C H A P T E R 7
Building Interactive Pages with Ajax
In this chapter, you'll learn how to build pages that are more interactive than normal HTML pages using a technique called Ajax.
Displaying a FAQ
Suppose that you'd like to develop an application that displays a FAQ, as shown in Figure 7-1.
Figure 7-1. Displaying a FAQ
Suppose that every question has both a short answer and a long answer. Initially, the short answer is displayed. If the user clicks the question, the answer will change to the long answer. If the user clicks it again, it ...