HTML Reference

HTML – onblur Event

The onblur event fires when a form field loses focus, and is often used with form validation. The onblur event is the opposite of the onfocus event.

HTML Reference

HTML – onchange Event

The onchange event fires when the value of the element is changed by the user and the element loses focus.

HTML Reference

HTML – onfocus Event

The onfocus event fires when a form field gains focus as the user clicks into it. The onfocus event is the opposite of the onblur event.

HTML Reference

HTML – onfocusin 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.

HTML Reference

HTML – onfocusout Event

The onfocusout event fires when a form field is about to lose focus as the user clicks out of it. It’s the opposite of the onfocusin event.

HTML Reference

HTML – oninput Event

The oninput event fires when the value of an HTML input or textarea element is first input or is changed.

HTML Reference

HTML – oninvalid Event

The oninvalid event fires when an input element is invalid (e.g., if the required attribute is set and the field is empty).

HTML Reference

HTML – onreset Event

The onreset event fires when the user resets the form by clicking the reset button.

HTML Reference

HTML – onsearch Event

The onsearch event fires when a user presses the “enter” key or clicks the “x” button in an input element with type=”search”.

HTML Reference

HTML – onselect Event

The onselect event fires after text has been selected in an HTML input or textarea element.

HTML Reference

HTML – onsubmit Event

The onsubmit event fires when the user submits the form by clicking the submit button.

HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress
HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress

Why 1SMARTchicken?

This site was built and is maintained to benefit my autistic son.
See More →

My Son's Name is Johnny

He was diagnosed as autistic quite late, at age four...
His story

Buy Me a Coffee

Thanks for your support!

1SMARTchicken Icon