Keycatch Code with jQuery

[javascript]
$(‘body’).bind(‘keypress’, function(e) {
if ( event.keyCode == 13 ){
$(‘.confirm’).click();
}
});
[/javascript]

Leave a Reply