Home »
MCQs »
jQuery MCQs
Which method is used to attach an event handler function to an HTML element when the form field loses focus?
36. Which method is used to attach an event handler function to an HTML element when the form field loses focus?
- blur()
- leave()
- focusleave()
- leavefocus()
Answer: A) blur()
Explanation:
The jQuery method blur() is used to attach an event handler function to an HTML element when the form field loses focus.