Evento Tecla Entre JavaScript

$(document).keypress(function(e) {
       if(e.which == 13) {
           alert('You pressed enter!');
       }
});
Super Stag