Page History
...
Here’s a simple example of an AJAX interaction:
An AJAX page has presented a form with a Product Description and a Search button. When the user clicks the button, a list of products that contain the description is displayed.
...
- Sends a request to the application server. The request contains:
The name of the AJAX function to be invoked on the server |
The action that the AJAX function should take (for example PRODUCTSEARCH) |
The JavaScript function to call when the request has been completed |
It then does nothing more. The search request response will come back from the server asynchronously when it has been completed.
...
- Removes all the <TR> table rows for a product table is it is displaying on the web page.
- Reads from the clipboard the list of product numbers, descriptions and quantity on hand values that the AJAX function put there. From this information, it formats a new set of <TR> table rows and displays them to the user.
Almost all AJAX Page - AJAX function interactions follow this basic flow of control model. What they actually do of course varies widely.
...

