Home »
MCQs »
jQuery MCQs
Which method is used to attach an event handler function to an HTML element when the left, middle or right mouse button is released, while the mouse is over the HTML element?
33. Which method is used to attach an event handler function to an HTML element when the left, middle or right mouse button is released, while the mouse is over the HTML element?
- mouseup()
- mouseover()
- mouseabove()
- mousekey()
Answer: A) mouseup()
Explanation:
The jQuery method mouseup() is used to attach an event handler function to an HTML element when the left, middle or right mouse button is released, while the mouse is over the HTML element.