Answers for "jquery add eventlistener on hover to element"

0

jquery on hover event

$(".selector").on({
    mouseenter: function () {
        //stuff to do on mouse enter
    },
    mouseleave: function () {
        //stuff to do on mouse leave
    }
});
Posted by: Guest on July-01-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language