I am having trouble binding mouseover mouseon events.
I can use off to unbind them
$('.overview li a img').off('mouseover mouseon');
but on does not seem to work.
$('.overview li a img').on('mouseover mouseon');
Any suggestions?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no
mouseonevent. There are:mousedown()mouseenter()mouseleave()mousemove()mouseout()mouseover()Additionally, you should use handler function to bind an event:
This is a function that executes each time the event is triggered.