79
rated 0 times
[
84]
[
5]
/ answers: 1 / hits: 28516
/ 13 Years ago, thu, may 19, 2011, 12:00:00
Is there a library that can extract all text events from an <input type=text>
(or contentEditable -- any one-line input field) element?
In particular, I need to know whenever the text is changed by:
- typing (asdf, backspace)
- cut/paste
- key combo actions (e.g. ctrl+bksp or option+bksp deletes the previous word)
- dragged & dropped text
- edit menu actions
And preferably what it was that changed (whether and what text was inserted, deleted, or replaced).
Needs to work on Chrome, Safari, Firefox 3+, IE9+.
More From » events