Which method is used to attach an event handler function to an HTML element when the form field gets focus?
Options:
Explanation:
The jQuery method
focus() is used to attach an event handler function to an HTML element when the form field gets focus.
Tags:
jQuery
Answer:
Which method is used to attach an event handler function to an HTML element when the form field gets focus focus().