The question is pretty straightforward. If I select two or more elements with jQuery and, for example, use jQuery\'s fadeOut() function to hide them, the callback function i
You can use $.when [docs] (deferred objects):
$.when($('#element-1, #element-2').fadeOut(250)).then(function() { // do something });
DEMO
This works with any animation afaik.