Sequential Asynchronous calls are gross. Is there a more readable solution?
Posted
by Fletcher Moore
on Stack Overflow
See other posts from Stack Overflow
or by Fletcher Moore
Published on 2010-05-12T12:36:24Z
Indexed on
2010/05/12
12:44 UTC
Read the original article
Hit count: 226
The problem is this is hard to follow:
ajaxOne(function() {
// do something
ajaxTwo(function() {
// do something
ajaxThree()
});
});
I'm using a third party API to make the AJAX calls, so I need a generic solution.
© Stack Overflow or respective owner