title: Update options from a dropdown list
body: <p>I have a Dorpdownlist with a lot of options. So I want to filter these options with a text.</p>
  
  <pre><code>$("input.form-control").change(function () {
      var value = $('.form-control').val();
  
      //now I need to remove the options witch not contains the value in the text.
  
  });
  
  
  &lt;select id="id_customer" name="customer"&gt;
      &lt;option value="1"&gt;Max Musterman &lt;/option&gt;
      &lt;option value="2"&gt;Heidi Mustermann &lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>maybe the removed options have to added again, if the value changes.
  This is only my first step with jquery. If you have a solution with Django, Ajax or something else, it's also fine.</p>