IE event for right-click delete on <input> or <textarea>
- by Jayraj
What event is fired when you right-click on selected text in an <input> or <textarea> tag and the click "Delete" in Internet Explorer (I'm targeting version 9, but if it's good for lower versions too, all the better).
On other browsers , the "input" event appears to work for all text changes through right-click so doing
$("textarea").on("input", function() {...});
works. IE works for cut and paste, but not delete (JSFiddle here) although MDN claims that IE is supported.