-3
rated 0 times
[
1]
[
4]
/ answers: 1 / hits: 18418
/ 12 Years ago, tue, april 17, 2012, 12:00:00
I'm finding that the delete key doesn't fire the keypress
event in Chrome, while other keys work. The problem doesn't occur in Firefox, just in Chrome, why? Here is my code:
document.addEventListener('keypress', function (e) {
console.log(e);
}, false);
More From » dom-events