input event

The `input` event is fired when the user changes the value of an `<input>` element, `<select>` element, or `<textarea>` element. By contrast, the "change" event usually only fires after the form control has lost focus.

WHATWG Living Standard: https://html.spec.whatwg.org/multipage/forms.html#event-input-input

Usage: 98.2% + 0.06% = 98.3%

Support summary

Notes

  1. Doesn't fire an `input` event when deleting text (via Backspace, Delete, Cut, etc.).
  2. Doesn't fire an `input` event when drag-and-dropping text into an `<input>` or `<textarea>`.
  3. `<select>` doesn't fire `input` events. See MS Edge bug and Firefox bug.
  4. Doesn't fire an `input` event when (un)checking a checkbox or radio button, or when changing the selected file(s) of an `<input type="file">`. See Chrome bug, WebKit bug #149398, WebKit bug #190223 and Firefox bug.
  5. Doesn't fire an `input` event when (un)checking a checkbox or radio button. See MS Edge bug.
  6. Doesn't fire an `input` event when changing the selected file(s) of an `<input type="file">`. See WebKit bug #149398 and WebKit bug #204292.

Links