title: Using jQuery Autocomplete with Meteor.js
body: <p>I'm trying to hook up autocomplete with the following code:</p>
  
  <pre><code>      .autocomplete({
          source: function(request, callback) {
             Meteor.call('searchContacts', request.term, function(err, results) {
               console.log("why won't you call me?");
               callback(results);
             });
      },
      search: function() {
  </code></pre>
  
  <p>Update:
  Here is my search method:</p>
  
  <pre><code>  searchContacts: function(term) {
       console.log(`search for ${term}`);
       return Contacts.find({'$or' : [
        { 'name': {$regex: term, $options: 'i'} },
        { 'email': {$regex: term, $options: 'i'} } ]
      });
    },
  </code></pre>
  
  <p>Oddly, the Meteor.call to searchContacts never responds so the callback is never fired. I did some console debugging on the server methods and it gets into searchContacts and even finds results, but it never hits the callback. Any help would be great. thanks.</p>