title: How do I bind onchange event of a TextBox using JQuery?
body: <p>How can I bind an OnChange event of a TextBox to function using jQuery?</p>
  
  <p>Am trying this and its failing:</p>
  
  <pre><code>$(document).ready(function() {
      $("input#tags").bind("change",autoFill);
  });
  
  function autoFill() {
      $("#tags").autocomplete("/taglookup/", {
          width: 320,
          max: 4,
          highlight: false,
          multiple: true,
          multipleSeparator:",",
          scroll: true,
          scrollHeight: 300,
          delay: 10
      });
  }
  </code></pre>
  
  <p>NB: I want to implement a Tag TextBox like the one for stackoverflow which detects OnChange events and calls AJAX functions when a user types in.</p>