Home »
MCQs »
jQuery MCQs
Which method is used to attach an event handler function to an HTML element on mouse click?
28. Which method is used to attach an event handler function to an HTML element on mouse click?
- click()
- Click()
- dblclick()
- DblClick()
Answer: A) click()
Explanation:
The jQuery method click() is used to attach an event handler function to an HTML element on mouse click.