input: A DOM event that is fired whenever a text field changes
If you're supporting IE9+, you can listen to
input
Show archive.org snapshot
to see if a text field changes.
Other than change
, it fires while the user is typing and doesn't wait until the user blurs the field.
Older workarounds included polling the field every X ms to see if its value changed.
Unfortunately input
is not triggered for check boxes.