When animating, how fire the callback only when all elements are done?
- by Maria Söderberg
When animating in jQuery, what's best practice for firing a callback only when ALL elements are done animating and not for each element?
For example:
$('.someElements').fadeOut('fast', function() {
// dont do this until ALL elements are done fading
}