so I have this code:
$('.textarea').bind('keydown', function(){
alert('yooooo');
});
now suppose I enter a bunch of chracters into textarea, then press Ctrl+A (or select all) and then press backspace, in Firefox the 'yoooo' will be alerted properly following the backspace, but not in Internet Explorer...
is there a way to make this also work in IE for that action (select all then backspace)...is there some other event that I need to use?
Works for me in IE9... http://jsfiddle.net/BarAB/
It's annoying as all hell, but it does what you want it to in IE as well.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.