Home »
MCQs »
jQuery MCQs
Which method is used to attach an event handler function to an HTML element when the mouse pointer leaves the HTML element?
31. Which method is used to attach an event handler function to an HTML element when the mouse pointer leaves the HTML element?
- mouseLeave()
- mouseleave()
- mouse-leave()
- mouseexit()
Answer: B) mouseleave()
Explanation:
The jQuery method mouseleave() is used to attach an event handler function to an HTML element when the mouse pointer leaves the HTML element.