I am trying to capture arrow keys in jQuery, but no events are fired.
$(function(){ $('html').keypress(function(e){ console.log(e); }); });
This generates events for alphanumeric keys, but delete, arrow keys, etc. do not generate any event.
What am I doing wrong to not capture them?
javascript jquery keypress
RedBassett Oct 13 '13 at 16:08 2013-10-13 16:08
source share