title: Typeahead.js jsonp callback
body: <p>Typeahead.js supports JSONP. I'm successfully sending and receiving JSONP data, I can see it in the console. However, the results aren't showing up in Typeahead.</p>
  
  <p>PHP Server is sending</p>
  
  <pre><code>echo "callback".'('.json_encode($aout).');';
  </code></pre>
  
  <p>Which looks like</p>
  
  <pre><code>callback(["A 00000091","A 00000091s CHI","A 00000091s HENN","A 00086479","A 00086479sss","A 00144927sss%HEN","A 00165660s HEN","A 00324221sss","A 00325126 CsSP","A 00344270sss",""]);
  </code></pre>
  
  <p>My call back function</p>
  
  <pre><code>&lt;script&gt;
  window.callback = function(data){
      console.log(data);
  };
  &lt;/script&gt;
  </code></pre>
  
  <p>Typeahead init</p>
  
  <pre><code>$(document).ready(function(){
  $(".myTypeHead").typeahead({
      name: "search",
      remote : {
          url : "http://zonessocialmedia.com/~zones/testing/search/search.php?search=%QUERY&amp;callback=callback",
          dataType: 'jsonp'
      }
  }); 
  });
  </code></pre>
  
  <p>I'm able to see the data in the log, how can I add it to Typeahead? I'm using JSONP because of cross domain issues.</p>