/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('#something').keyup(function(event) { if(event.keyCode == 13) { alert('Enter key pressed :D'); } });
$('#something').keyup(function(event) { if(event.keyCode == 13) { alert('Enter key pressed :D'); } });