title: jQuery.autocomplete doesn't show value returned from jQuery.ajax
body: <p>I have the following code.  </p>
  
  <p>The ajax query works, and the data returned from the server is a valid json.<br>
  I succeeded to make the autocomplete dropdown work with a remote data source, through a request like this : <a href="http://jqueryui.com/demos/autocomplete/#remote" rel="nofollow">http://jqueryui.com/demos/autocomplete/#remote</a>.</p>
  
  <p>My problem is that the data returned from the jquery.ajax doesn't show in the autocomplete.  Anyone can help? thks.</p>
  
  <pre><code>jQuery( "#input_2_5" ).autocomplete({
      source: function(request, response){
          jQuery.ajax({
              url: "url/wp-admin/admin-ajax.php",
              type:'POST',
              dataType: 'json',
              data:{
                  action: 'word_autocomplete'
              },
  
              success: function(data) {
                  return data;
              }
  
          });
  
      }
  
  });
  </code></pre>