title: jquery ui autocomplete json
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4234455/jquery-autocomplete-not-working-with-json-data">jquery autocomplete not working with JSON data</a>  </p>
  </blockquote>
  
  
  
  <p>I'm trying to get the autocomplete and json to work, I've spent hours trying various things, but keeping it simple such as this was the closest I got it to work:</p>
  
  <pre><code>$('#group_id').autocomplete({
      source: "/ajax/groups"
  });
  </code></pre>
  
  <p>Adding all the other params doesn't seem to help.</p>
  
  <p>As I type, I notice a small drop down appearing, but there is no text inside, it's just blank. Various other methods I try, the drop down does not show up at all. I also thought this would solve the problem, but it doesn't: <a href="https://stackoverflow.com/questions/4184818/json-for-jquery-autocomplete">JSON for Jquery autocomplete</a></p>
  
  <p>Any ideas? Thanks.</p>