title: JQueryUI 1.10.0 Autocompleter renderItem problems
body: <p>I tried a solution regarding renaming 'autocomplete' to 'ui-autocomplete' (using JQueryUI 1.10.0, JQuery 1.8.3) and am still getting an error for:</p>
  
  <blockquote>
    <p>TypeError: $(...).autocomplete(...).data(...) is undefined</p>
  </blockquote>
  
  <pre><code>} }).data('ui-autocomplete')._renderItem = function (ul, item) {
  </code></pre>
  
  <p>its defined in 1.10.0 but I need to override:</p>
  
  <pre><code>_renderItem: function( ul, item ) {
  return $( "&lt;li&gt;" )
  .append( $( "&lt;a&gt;" ).text( item.label ) )
  .appendTo( ul );
  }, 
  </code></pre>
  
  <p>here is my whole code:</p>
  
  <pre><code>var ajaxCall_QuickSearchCompanyId;
              $('#QuickSearchCompanyId').autocomplete({
                  minLength: 2, delay: 300, source: function (request, response) {
                      if (ajaxCall_QuickSearchCompanyId) {
                          ajaxCall_QuickSearchCompanyId.abort();
                      }
                      ajaxCall_QuickSearchCompanyId = $.ajax({
                          url: '/Advertiser/Autocompleter/CompaniesDetailed', dataType: 'json',
                          data: { q: request.term },
                          success:
                              function (data) {
                                  $('#QuickSearchCompanyId').removeClass('ui-autocomplete-loading');
                                  response($.map(data, function (item) {
                                      return {
                                          label: item.ID,
                                          value: item.Name,
                                          subsidiaries: item.Subsidiaries,
                                          category: item.Category,
                                          url: (item.URL == null) ? '' : item.URL,
                                          parentName: item.ParentName,
                                          isReported: item.IsReported
                                      }
                                  }));
                              }
                      });
                  }
              }).data('ui-autocomplete')._renderItem = function (ul, item) {
                  String.prototype.chunk = function (n) {
                      var ret = []; for (var i = 0, len = this.length; i &lt; len; i += n) { ret.push(this.substr(i, n)); }
                      return ret;
                  }; ul.attr('id', 'ul_QuickSearchCompanyId'); return $('&lt;li&gt;&lt;/li&gt;')
                      .data('ui-autocomplete-item', item)
                      .append("&lt;a style='padding: 0px;'&gt;&lt;div style='margin-bottom: 0px; width: 450px;'&gt;&lt;table style='height: 100%; width: 450px; font-family: Calibri; font-size: 10pt;'&gt;&lt;tr&gt;&lt;td style='width: 280px; border-right: solid 1px Black; padding: 0px; color: " + ((item.isReported != true) ? 'Gray' : 'Black') + "; font-style: " + ((item.isReported != true) ? 'italic' : 'none') + ";'&gt;" + ((item.parentName != '[[root]]') ? (item.parentName + ': ') : '') + item.value + "&lt;/td&gt;&lt;td align='right' valign='top' style='width: 150px; padding: 0px; color: " + ((item.isReported != true) ? 'Gray' : 'Black') + "; font-style: " + ((item.isReported != true) ? 'italic' : 'none') + ";'&gt;" + item.category + "&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;/a&gt;")
                      .appendTo(ul);
              };
  </code></pre>
  
  <p>Any Ideas would be greatly appriciated.</p>