jQuery, когда нажата любая клавиша

$("input").keypress(function(){
  //this code executes when the keypress event occurs.
});
Inexpensive Ibis