Do something when an effect is done


/ Published in: jQuery
Save to your folder(s)

Understanding callbacks in jQuery animations


Copy this code and paste it in your HTML
  1. $('div.old').fadeOut(300, function() { $(this).remove(); });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.