Example
Here is a
Form Completion application:
- When user leaves zip code field, the field value is sent to the server
- But the whole form is not submitted; user continues to edit form
- If server finds the zip code (97402), the city and state fields are
automatically updated
It is a misconception that Ajax reduces server-side traffic—
- Every Ajax request involves a trip to the server
- But since requests are asynchronous, Ajax creates the impression of a
more responsive UI