2.3.4.27 onfocusin

Quirks Mode, IE7 Mode, IE8 Mode, IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)

onfocusin of type Function

Occurs just prior to setting focus on an element.

To invoke, click an element or document when the element or document does not have focus; use the keyboard to move focus; invoke the focus method.

  • Bubbles: Yes

  • Cancelable: No

  • Context Info: fromElement

This attribute is an extension to HTMLElement.

See also onfocusout.

Show: