Infinite
$(document).ready(function(){ $('.button').on('click',function(){ $('.myObj').doAnim({
}); // console.log('Animation done'); }); });