HTML <input type="text" id="PressSearch" />
$('#PressSearch').keypress(function(e){ if(e.which == 13){//Enter keypad alert('Press enter keypad to search....'); } });