$('#element').keyup(function() {
});
or
$('#element').bind('keyup', function() {
});
solved How to check if a key has been pressed in javascript? [duplicate]
$('#element').keyup(function() {
});
or
$('#element').bind('keyup', function() {
});
solved How to check if a key has been pressed in javascript? [duplicate]