setInterval(function() { $('.my-element-class:not(.appeared)') .addClass('appeared') .each(function() { console.log("here I am!") }); }, 250);