Provides functionality for elements that can set and lose focus. Learn more.
Additional information about this section
Perform actions on an object
- blur( )
Removes focus from the element.
- focus( )
Places focus on the element.
- onBlur( )
Adds an event handler that runs when the element loses focus.
- onFocus( )
Adds an event handler that runs when the element receives focus.