Chapter 19. Getting data into JavaScript
After completing this chapter, you will be able to
Understand the architecture of a JavaScript-based web application.
Understand the basics of AJAX.
The JavaScript you’ve seen so far in this book works with page events to change the behaviors and look and feel of pages, and does a little validation of forms. A widely used feature of JavaScript is to be able to obtain and work with data, sending it and receiving it from a server. The “data“ in this case can be anything: flight times, prices, lists of the types of insects found in a region, or even entire webpages. This chapter examines Asynchronous JavaScript and XML, the method known as AJAX, to obtain and work with data to and from a server.
JavaScript application ...
Get JavaScript Step by Step 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.