Posted By

zenorocha on 06/13/11


Tagged

enter keypress keyup


Versions (?)

Detect enter key using jQuery


 / Published in: jQuery
 

  1. $('#something').keyup(function(event) {
  2. if(event.keyCode == 13) {
  3. alert('Enter key pressed :D');
  4. }
  5. });

Report this snippet  

You need to login to post a comment.