4.19 AJAX WITH JAVASCRIPT

4.19.1 Ajax Introduction

All relevant examples above, where pages are shown, involve full-page updates, that is, a request is made by the client (browser), the server processes the request and sends the output (usually HTML). The client (again the browser) renders the HTML page. This way of posting a page will do well with processing a non-interactive web Form, but what about instances where is expected to be interactive? A key requirement of such a type of transaction (which could be very common) is to have the ability to fill up a partial page, consisting of a field or a set of fields in a Form, rather than the entire page. Now, this ability is natively present in a client–server (or even a desktop) model but is not ...

Get Web Technology: Theory and Practice now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.