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 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.