JQuery po naciśnięciu dowolnego klawisza

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