Reputation: 9175
Given the following example: If 5 <li>
elements are found, the callback fires an alert 5 times...
Is there an easy way to find out when the animation is really over and just fire once?
$(this).parent().siblings('li').slideUp(500,function(){
alert
});
Upvotes: 4
Views: 215