Home »
MCQs »
jQuery MCQs
Which method is used to attach an event handler function to an HTML element when the mouse moves over the HTML elements?
34. Which method is used to attach an event handler function to an HTML element when the mouse moves over the HTML elements?
- mousemove()
- mouseover()
- hover()
- mousehover()
Answer: C) hover()
Explanation:
The jQuery method hover() is used to attach an event handler function to an HTML element when the mouse moves over the HTML elements.