/ Published in: JavaScript
runs function on key catch codes that you can grab from: http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes
Expand |
Embed | Plain Text
$('body').bind('keypress', function(e) { if ( event.keyCode == 13 ){ $('.confirm').click(); } });
You need to login to post a comment.
