Working with jQuery’s AJAX, Promises and Deferred objects

Working with jQuery’s AJAX, Promises and Deferred objects

jQuery’s implementation of making AJAX calls is quite easy to understand. There is $.ajax(), $.get(), $getJSON(), $.post() – which are all xhr requests, just different ways of writing it. It probably has the most straightforward syntax available and that’s why developers continue to use it, more than other libraries. The funny thing is, once we […]