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


You need to login to view comments.