O'Reilly logo

JavaScript JSON Cookbook by Ray Rischpater

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 4. Using JSON in AJAX Applications with jQuery and AngularJS

In this chapter, we'll look at the part that JSON plays in asynchronous JavaScript and XML (AJAX) applications that provide better responsiveness than older web pages by dynamically loading bits of a web page on demand. In this chapter, you'll find the following recipes:

  • Adding a dependency to jQuery to your web page
  • Requesting JSON content using jQuery
  • Sending JSON to your web server using jQuery
  • Getting the progress of a request using jQuery
  • Parsing the returned JSON using jQuery
  • Adding a dependency to AngularJS to your web page
  • Requesting JSON content using AngularJS
  • Sending JSON to your web server using AngularJS
  • Getting the progress of a request using AngularJS
  • Parsing the returned ...

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