25.180. Input.onfocus: event handler invoked when a form element gains focusDOM Level 2 Events25.180.1. SynopsisFunction onfocus 25.180.2. DescriptionThe onfocus property of an Input object specifies an event-handler function that is invoked when the user transfers keyboard focus to that input element. Calling focus( ) to set focus to an element does not invoke onfocus for that object. 25.180.3. See AlsoElement.addEventListener( ), Window.onfocus; Chapter 17 |