I'm relying on the change event being triggered whenever the contents of the textarea changes. According to the jquery docs, this doesn't get triggered until the textarea loses focus. Under what circumstances could the event not be triggered? Would clsoing a page, going back, clicking on a link, etc, always cause the textarea to lose focus and be fired?
Or to put it another way, is it possible to leave a page without a focusses textarea losing input?
With differents tests, the change event is not triggered when:
You can test an example here: http://jsfiddle.net/Atinux/S6TkP/
So I recommand you to use in addition keyUp and keyDown events on your input and textarea forms.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With