It helps to select any element that is currently animated:.
// To change color of the animated element.
$(“.button”).click(function(){
$(“:animated”).css(“background-color”,”yellow”);
});
It helps to select any element that is currently animated:.
// To change color of the animated element.
$(“.button”).click(function(){
$(“:animated”).css(“background-color”,”yellow”);
});