Home »
MCQs »
jQuery MCQs
Which method is used to attach an event handler function to an HTML element when the mouse pointer enters the HTML element?
30. Which method is used to attach an event handler function to an HTML element when the mouse pointer enters the HTML element?
- mouseover()
- mousevisit()
- mouse-enter()
- mouseenter()
Answer: D) mouseenter()
Explanation:
The jQuery method mouseenter() is used to attach an event handler function to an HTML element when the mouse pointer enters the HTML element.