How to call function when animation is finished in jquery
08 May 2014, 06:46 AM
Register the callback method when creating animation. see the example below
$(this).animate({ width: 100 }, 500, function () { alert('done'); } );
this example shows alert message when animation is finished.