jQuery .animate/.each chaining
问题 I'm trying to combine matching something like: $(".item").each(function(i) { //animation here }); with jQuery's inherent chaining functionality that forces the animation to wait until the previous animation has completed, e.g.: $(".item").each(function(i) { $(this).animate({marginLeft:"0"}, 60); }); And then trigger a .load function after the animations have completed. Basically, I want to fade four items out in order [one after the next, not all at once], then load four new items into the