Posted about 4 years ago. Visible to the public.

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

If you're supporting IE9+, you can listen to input 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.

Once an application no longer requires constant development, it needs periodic maintenance for stable and secure operation. makandra offers monthly maintenance contracts that let you focus on your business while we make sure the lights stay on.

Owner of this card:

Henning Koch
Last edit:
almost 4 years ago
by Henning Koch
find-as-you-type, search
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Henning Koch to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more