Return to Snippet

Revision: 47681
at June 13, 2011 21:24 by zenorocha


Updated Code
$('#something').keyup(function(event) {
	if(event.keyCode == 13) {
		alert('Enter key pressed :D');
	}
});

Revision: 47680
at June 13, 2011 21:23 by zenorocha


Updated Code
$('#something').keyup(function(event) {

	if(event.keyCode == 13) {
		alert('Enter key pressed :D');
	}

});

Revision: 47679
at June 13, 2011 21:22 by zenorocha


Initial Code
$('#something').keyup(function(event) {
	if(event.keyCode == 13) {
		alert('Enter key pressed :D');
	}
});

Initial URL

                                

Initial Description

                                

Initial Title
Detect enter key using jQuery

Initial Tags

                                

Initial Language
jQuery