Evevo Tecla Enter JavaScript

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