Evento Tecla Masukkan JavaScript

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