When working with jQuery, I have a CSS style targeting a specific div:
div.right-sm:hover{background-color: blue}
Now, I am trying to prevent the hover effect using jQuery:
$(this).parent('div').removeClass('right-sm:hover');
However, it doesn't appear to be working as expected. Any suggestions?