jquery remove class of li element 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 class
$("#div1").on("click", function () {
if ($(this).hasClass("active")) {
setTimeout(function () {
$("#div1").removeClass("active");
}, 10);
}
});