title: How to change rendering of dropdown in jquery ui autocomplete attached to a class?
body: <p>I copied some code from the jQuery UI site and appended it to my own:</p>
  
  <pre><code>$('.field_values') // class that all input fields are a member of in my html
  // here I am skipping .autocomplete, which works
  // next comes the copied code
  .data( 'ui-autocomplete' )._renderItem = function( ul, item ) {
  return $( '&lt;li&gt;' )
  .append( '&lt;a&gt;' + item.label + '&lt;br&gt;' + item.value + '&lt;/a&gt;' )
  .appendTo( ul );
   }
  ;
  </code></pre>
  
  <p>I cannot find any documentation on this _renderItem function. Another stackoverflow question/answer suggested that the problem might be having a class instead of an id. But I must have a class, because there are many fields.</p>
  
  <p>How can I get this to work with my class?</p>