Journal

Showing articles tagged with jQuery

Using jQuery when() with AJAX

JQuery's AJAX is an essential part of a web developers toolbox since the ability to do asynchronous requests powers much of today's web applications. In this tutorial, I will go through how to use jQuery.when() to handle callbacks based on multiple asynchronous objects.

If that all sounded like gibberish, here's a quick overview. AJAX stands for Asynchronous Javascript and XML. It allows web pages to be changed and updated without reloading the whole page. An example is the Google search box - the search box dropdown updates with suggestions based on what you typed. Behind the scenes, there is a Javascript listener that sends off an AJAX query to the Google servers whenever something is entered, with the ...

Published Feb. 3, 2016, 12:03 a.m.

View Comments