Chapter 6. Getting Data into JavaScript

After completing this chapter, you will be able to

  • Understand the different ways to talk to servers

  • See how to retrieve information from a server

  • Use a JavaScript program to parse information in different formats

  • Use JavaScript and jQuery to send data to a server

YOU CAN LOOK JUST ABOUT ANYWHERE ON THE WEB to find examples of sites that marry data with JavaScript. Sites like Google Maps, Twitter, Bing, and others all use JavaScript to fetch results, help you search, and help you click and drag a map. The data itself isn’t stored in JavaScript; rather, it’s retrieved using a combination of JavaScript and one or more programs on a server. In this way, web applications obtain data from the server without ever having ...

Get Microsoft® Start Here!™ Learn JavaScript 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.