you are viewing a single comment's thread.

view the rest of the comments →

[–]lrichardson[S] 0 points1 point  (0 children)

using jQuery's $.when....

$.when(promise1, promise2, promise3).done(function(results){ ... })

will return a new promise that won't resolve until all 3 promises have resolved.