title: Jquery : how can I detect content changes ? (looking for an alternative to keyup() )
body: <p>I use this simple Jquery code to get element from a div and then to change it thanks to a php script :</p>
  
  <pre><code>$(document).ready(function(){
      $("#description").keyup(function(){
      var recherche = $(this).val();
  
      $.ajax({
          type : "GET",
          url : "result.php",
          data : {motclef: recherche},
          success: function(server_response){
          $("#resultat").html(server_response).show();
          }
      });
  });
  
  });
  </code></pre>
  
  <p>Problem is some changes can happend without pressing any key (copy/past ...). I have tried with .change() but it is triggered only when the focus of the element is lost.</p>