Supposing I have this HTML with multiple elements and class.
How can I remove without naming the elements from all the element the class classToRemove ?
Thanks.
<html>
<body class="classToRemove">
<div class="classToRemove">
<a class="classToRemove">Link</a>
<div>
</body>
<html>
$('.classToRemove').removeClass('someClass');, if you want to remove the class itself$('.classToRemove').removeClass('classToRemove');