194
rated 0 times
[
199]
[
5]
/ answers: 1 / hits: 117292
/ 11 Years ago, sun, october 13, 2013, 12:00:00
I'm attempting to capture arrow key presses in jQuery, but no events are being triggered.
$(function(){
$('html').keypress(function(e){
console.log(e);
});
});
This generates events for alphanumeric keys, but delete, arrow keys, etc generate no event.
What am I doing wrong to not be capturing those?
More From » jquery