Creating HTML Drill-Down Tables

HTML communication on the web usually consists of full pages served up from a server and forms data being sent from the client to the server. This view of HTML communication is overly restrictive for an AJAX application. HTML data coming from the client can have much more content than just field names and values, and HTML data from the server need not be a full page. Tables are a great way of showing related data, but they don’t provide a good way to show subdata. The patient table in Chapter 4 displays a list of patients and their basic data.

This table doesn’t allow the user to select a patient and see the associated visits for that patient. In a standard web application this would be done by clicking on the ...

Get Oracle Database Ajax & PHP Web Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.