monkey codes

monkey codes


Random bits of knowledge, functional code examples and laughable mistakes from a code monkey working in the real world.

Tags


monkey codes

jQuery

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 Zietsman Johan Zietsman