Not able to remove a class from an element using JQuery [closed]
.careerfy-subheader careerfy-subheader-with-bg is not a valid selector for the element you’re trying to remove the class from. Firstly, to select an element based on two classes you need this syntax: jQuery(‘.careerfy-subheader.careerfy-subheader-with-bg’) Notice the . for each class, and that they are attached. This means ‘select an element with both these classes’. The second problem is … Read more