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>
with jQuery it's really easy $('.classToRemove').removeClass('classToRemove');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With