An input event fires on each keystroke. A change event fires when the textarea loses focus after its value has changed.