jQuery quand une touche est appuyée

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