title: How do I get more than one autocomplete input field within a form?
body: <p>I've managed to get the one autocomplete working, sifting through a list of 'Managers'... However, I have another field in need of autocompletion in the same form, returning a list of Companies. Is it possible to have more than one autocomplete within the same form?
  I've tried importing another script, but that didn't seem to work. </p>
  
  <p>template:</p>
  
  <pre><code>&lt;label for="id_manager"&gt;Manager Username&lt;/label&gt;
  {{ form.manager }} // This autocomplete works
  &lt;label for="id_company"&gt;Company Name&lt;/label&gt;
  {{ form.company }} // This doesn't
  </code></pre>
  
  <p>forms.py:</p>
  
  <pre><code>manager = forms.CharField(widget=forms.TextInput(attrs={'class':'input-text', 'id':'id_managerbox'}), max_length=30, required=False)
  company = forms.CharField(max_length=200, required=False,widget=forms.TextInput(attrs={'class':'input-text','id':'id_companybox'}))
  </code></pre>
  
  <p>This is the one Manager script that works. I have a separate one, for Company, nearly Identical.</p>
  
  <pre><code>$(document).ready(function() {
      $.get('/autocomplete/managers/', function(data) {
          var completions = new Array();
          var dict = JSON.parse(data, function(key, value) {
              completions.push(key);
              return value;
          });
          $('#id_managerbox').autocomplete({
              source: completions,
              minLength: 2,
              select: function(event, ui) {
                  $('#id_manager').val(dict[ui.item.value]);
              }
          });
      });
  });
  </code></pre>
  
  <p>Both Managers autocomplete and Company autocomplete have separate views.py
  So my question: is there a way to throw 2 autocomplete scripts into one template? Is there a way of combining the 2 views into one js script result? (i'm sure I could rephrase that question better). Or am I going about this completely the wrong way? (Just to let you know, I'm not a js wizard.) Thank you so much for you help in advance.</p>