javascript remove a class from div code example
Example 1: javascript remoev css class
//remove a css class from an element
document.getElementById("myElementID").classList.remove("class_name");
Example 2: jquery remove class
$("#div1").on("click", function () {
if ($(this).hasClass("active")) {
setTimeout(function () {
$("#div1").removeClass("active");
}, 10);
}
});