I\'m building an application that constantly listening to key presses. I use the $(document).keypress method, passing it
function(e) { if (e.keyCode == 13) {