input: A DOM event that is fired whenever a text field changes

Updated . Posted . Visible to the public.

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.

Henning Koch
Last edit
Henning Koch
Keywords
find-as-you-type, search
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2015-06-15 09:28)