HTML – onfocusout Event
The onfocusout event fires when a form field is about to lose focus as the user clicks out of it. The onfocusout event is the opposite of the onfocusin event.
The onfocusout event fires when a form field is about to lose focus as the user clicks out of it. The onfocusout event is the opposite of the onfocusin event.
The onhashchange event fires when there has been a change to the anchor part of the page’s URL (the anchor begins with the # symbol).
The oninput event fires when the value of an HTML <input> or <textarea> element is first input or is changed.
The oninvalid event fires when an <input> element is invalid (e.g., if the required attribute is set and the field is empty).
The onkeypress event fires when the user presses a key on the keyboard, but is not fired for all keys (e.g. ALT, CTRL, SHIFT, ESC).
The onload event fires when an element has been loaded, and is often used to run a script once the webpage has completely loaded all content.
The onloadeddata event fires when data for the current frame is loaded, but not enough data to play the next frame.
The onloadedmetadata event fires when meta data for the specified audio/video has finished loading.
The onloadstart event fires when the browser starts looking for the specified audio/video.
The onmessage event fires when an HTML element has received a message through an event source.
The onmousedown event fires when the user presses down the mouse button while over an HTML element.
The onmouseenter event fires when the user moves the cursor into an HTML element.
The onmouseleave event fires when the user moves the cursor out of an HTML element.
The onmousemove event fires when the user moves the cursor while over an HTML element.
The onmouseout event fires when the user moves the cursor from inside to outside an HTML element.
The onmouseover event fires when the user moves the cursor from outside to over an HTML element.
The onmouseup event fires when the user releases the mouse button while over an HTML element.
The onpagehide event fires when the user is leaving a webpage by clicking a link, refreshing the page, submitting a form, closing the window, etc.