Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Creating Dynamic Interfaces ... > Managing Enrollment through Ajax

16.3. Managing Enrollment through Ajax

The students and courses forms included one slightly complicated form, back in Example 9-4 and Figures Figure 9-17 and Figure 9-18, for adding students to courses and removing them from courses if necessary. It combined showing the list with letting the user change data, and so makes a good candidate for demonstrating Ajax at work. (Code for the demonstration is available in ch16/students009.)

16.3.1. Making the Form More Scriptable

As a first step, before actually adding Ajax components, it’s a good idea to open up the form a bit so that more components are accessible to JavaScript through id attribute values and so users can see more of what’s happening at any given time.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint