O'Reilly logo

JavaScript Step by Step by Steve Suehring

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required