jquery remove multiple classes code example
Example 1: jquery remove multiple classes
$("element").removeClass("class1 class2");
//One or more CSS classes to remove from the elements,
//these are separated by spaces.
Example 2: jquery remove multiple class
$("p").removeClass("blue under");
Example 3: jquery remove class
$("#div1").on("click", function () {
if ($(this).hasClass("active")) {
setTimeout(function () {
$("#div1").removeClass("active");
}, 10);
}
});