title: Filter with Jquery Autocomplete, Remote Source
body: <p>So, i have implemented "Jquery Autocomplete" to my input field.<br></p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;input type="text" id="objekt_nr"&gt;
  </code></pre>
  
  <p><strong>JS</strong></p>
  
  <pre><code>$(function() {
      $( "#objekt_nr" ).autocomplete({
          source: 'file.php',
          minLength: 2,
      });
  });
  </code></pre>
  
  <p>After some reading (no info in the docs) on google, i understand that you need to have the filter in "Server Side" php script. And i use some filtering there.<br></p>
  
  <p><strong>PHP</strong></p>
  
  <pre><code>$term = trim(strip_tags($_GET['term']));
  $query = "SELECT DISTINCT column1 as value FROM table WHERE column1 LIKE '".$term."%'";
  </code></pre>
  
  <p>My problem is that the "catch" is only filtering the very first or maby second charater.<br>
  And as i type, the miss fitting characters won´t filter out.<br></p>
  
  <p>Example: I type in 2133.. no i can also see: 2135..<br>
  How can i solve this?<br>
  Do i need to write my own <code>on keyup, function</code>?<br>
  Because i cannot find anything about this in the docs.</p>