jquery remove multiple classes
snippet in javascript

jquery remove multiple classes

user9490

$("element").removeClass("class1 class2");
//One or more CSS classes to remove from the elements,
//these are separated by spaces.

jquery remove multiple class

user7698

$("p").removeClass("blue under");

jquery remove class

user9483

$("#div1").on("click", function () {
    if ($(this).hasClass("active")) {
      setTimeout(function () {
        $("#div1").removeClass("active");
      }, 10);
    }
  });