monkey codes
monkey codes

Random bits of knowledge and laughable mistakes from a real world code monkey.

Tags


Twitter


monkey codes

Javascript

Sequential AJAX and jQuery's promise

As the name suggests, Asynchronous Javascript And XML, AJAX is asynchronous. Usually you don't care when a call completes as long as the callback is invoked upon completion. This style of AJAX is common and a plethora of examples exist on the internet. But what if you need to ensure that a set of ca…

Johan ZietsmanJohan Zietsman