title: jquery autocomplete with checkboxes removing as search
body: <p>On a page I have a search (input) box and below a few checkboxes with labels.</p>
  
  <p>The idea is as people type the variable projects are searched and the results in the list are replaced with the result. this would probably mean losing the whole list and re-writing it </p>
  
  <p>here is the js i am using</p>
  
  <pre><code>    var projects = [{   
  
      value: "open",
      label: "Open",
      },{
      value: "inprogress",
      label: "In Progress",
      },{
      value: "reopened",
      label: "Reopened",
      },{
      value: "closed",
      label: "Closed",
      },{
      value: "another",
      label: "Another Status",
      }];
  
      $( "#search" ).autocomplete({
      minLength: 0,
      source: projects
      });
  
  });
  </code></pre>
  
  <p>and here is the HTML</p>
  
  <pre><code>&lt;form action="#" id="issue-filter"&gt;
  &lt;input  placeholder="Search..."  id="search" autocomplete="off" &gt;&lt;span class="icon noloading"&gt;More&lt;/span&gt;&lt;/div&gt;
      &lt;div id="searcher-status-suggestions" class="aui-list" style="display: block;"&gt;
          &lt;div tabindex="-1" class="aui-list-scroll"&gt;
              &lt;ul class="aui-last"&gt;
  &lt;li&gt;&lt;input type="checkbox" tabindex="-1" value="open"&gt;Open&lt;/li&gt;
  &lt;li&gt;&lt;input type="checkbox" tabindex="-1" value="inprogress"&gt;In Progress&lt;/li&gt;                    
  &lt;li&gt;&lt;input type="checkbox" tabindex="-1" value="reopened"&gt;Re-Opened&lt;/li&gt;      
  &lt;li&gt;&lt;input type="checkbox" tabindex="-1" value="inprogress"&gt;In Progress&lt;/li&gt;  
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;
   &lt;/form&gt;
  </code></pre>
  
  <p>i have setup the jquery ui, jquery etc and when i type into the input box I can see the list from the projects. I am not sure how to update the ul list as I type. Also the ul list might not have all the projects as it might show only the first 10</p>
  
  <p>I have had a look at the jQuery documentation but am unsure of the best way to pull this off</p>
  
  <p>Can anyone help?</p>
  
  <p>an example fiddle is here <a href="http://jsfiddle.net/dwhitmarsh/CmYeq/" rel="nofollow">http://jsfiddle.net/dwhitmarsh/CmYeq/</a>  </p>