jQuery removeClass() Method – on click remove class

Description: Remove or more classes from each element in the set of matched elements, depending on either the class’s presence or the value of the state argument.

$(“.click_to_remove”).click(function(){
$(“.remove_class_element”).removeClass(“class_remove”);
});

Leave a Comment

Your email address will not be published. Required fields are marked *