Posts by Tiago Pina • 1 point
1 post
-
0
votes1
answer475
viewsQ: Add class to multiple elements, one at a time in Jquery
I have a problem with the following code: $("button").each(function(index){ // add the class setTimeout(function(){ $(this).addClass("varrimento"); }.bind(this),index*5000); // remove the class…