how to remove a class in js after 100 milliseconds

Solutions on MaxInterview for how to remove a class in js after 100 milliseconds by the best coders in the world

showing results for - "how to remove a class in js after 100 milliseconds"
Romane
01 Sep 2020
1$('.box').addClass("bg1").delay(100).removeClass("bg1");
Simona
03 Sep 2019
1  setTimeout(function () {
2    $(YourTarget).removeClass("classToRemove");
3  }, 100);
4