Hi, I have this script in js that adds a class to those two classes to change the style when you click on the div that has the class boxesLetras.
The question is I want to remove the alphabetical class that is what I put when they click on any other site that is not aLyrics box.
<script type="text/javascript">
(function($){
$(document).ready(function(){
$(".cajasLetras").click(function () {
$('.cajasLetras').addClass('alphabetical');
$('.Linearicons-Free-text-format').addClass('alphabetical');
});
});
})(jQuery)
</script>
<div class="cajasLetras">
<div class="dropdown-menu-letras">
<span class="topbar-text">
<i class="Linearicons-Free-text-format"></i> ALPHABETICAL
</span>
</div>
</div>
I when clicking on this div is added to the alphabetical cajasLetras class but, try a removeClass the addClass stops working