title: Create an ajax call to auto complete a search in semantic ui
body: <p>I'm trying to make a search with auto complete but its not working my js code is:</p>
  
  <pre><code>$('.ui.search')
      .search({
       debug: true,
        apiSettings: {
          action:'search',
          url: '/chat/addamigo/cod/{query}'
        },
      })
    ;
  </code></pre>
  
  <p>the return of the call is:</p>
  
  <pre><code>[{"title":"taaaaaalles","description":"552eecea80bc7be41a00002d"}]
  </code></pre>
  
  <p>and the html is:</p>
  
  <pre><code>&lt;div class="ui search"&gt;
                      &lt;input class="prompt" type="text" placeholder="... etc" &gt;
                      &lt;div class="results"&gt;&lt;/div&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p>but it keeps showing me the blank message </p>
  
  <p>"No Results
  Your search returned no results"</p>
  
  <p>what can i do to create an ajax auto complete in semantic</p>