skip to Main Content

Remove css hover effect on click Jquery

This code seems not to work. The text stays blue on hover, but I want it to be red instead after clicking this text. Tried several actions, but none of them works $('.secondary').click(function() { $(this).unbind('mouseenter mouseleave'); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <style…

VIEW QUESTION
Back To Top
Search