© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
B. HarwanijQuery Recipeshttps://doi.org/10.1007/978-1-4842-7304-3_10

10. AJAX

Bintu Harwani1  
(1)
Ajmer, Rajasthan, India
 
In this chapter, you learn to implement AJAX (i.e., exchanging data with a web server in the background) and update the web page asynchronously. This chapter covers the following recipes.
  • Returning a single line of text from the server

  • Returning multiple lines of text from the server

  • Returning a name/value pair using JSON

  • Returning a JSON object

  • Returning the JSON object that displays images

  • Converting a string into uppercase using AJAX

  • Displaying price of the selected product through an AJAX request

  • Authenticating a user using AJAX

  • Validating a ...

Get jQuery Recipes: Find Ready-Made Solutions to All Your jQuery Problems 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.