I have a webpage containing a textbox. Some events are bound to the textbox on key events, hence the UI changes as the user types on the textbox.
With IE10 a clear ('X') button appears on the textbox which allows users to clear the textbox.Is there any event in JavaScript through which I can capture the clearing of the textbox with the clear ('X') button?
I also tried using change event of the textbox, but the problem with change event is that it gets fired only when the user focuses out of the textbox (see this fiddlehttp://jsfiddle.net/MDMV5/ for repro) , which I don't want.
Reiterating the question: Is there any event in JavaScript through which I can capture the clearing of the textbox with the clear ('X') button?