HTML – ondrop Event
The ondrop event fires when a draggable element or text selection is dropped on a valid drop target via drag and drop.
The ondrop event fires when a draggable element or text selection is dropped on a valid drop target via drag and drop.
The ondurationchange event fires when the duration of the audio/video is changed.
The onemptied event fires when the media encounters some fatal error, the file becomes unavailable, or the media playlist is empty.
The onerror event fires when an error occurs while loading an external file like an <img>, <object>, <link>, or <script>.
The onfocus event fires when a form field gains focus when as user clicks into it. The onfocus event is the opposite of the onblur event.
The onfocusin event fires when a form field is about to gain focus as the user clicks into it. The onfocusin event is the opposite of the 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 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.