Skip to content
Advertisement

How to change class name after X seconds of time using Jquery

I want to loop the class name ‘move’ over all the divs, so if the first div has the class name ‘move’, i want to remove it and then add it to the next element in every three seconds

JavaScript
JavaScript

Advertisement

Answer

JavaScript
JavaScript
JavaScript
Advertisement