Alternative container for Autocomplete suggestions
hi,
i have succeeded to fill the alternative container, but autocomplete still show an empty ul under the text field
after init the widget i added this code
- $( "#item_name" ).autocomplete().data( "autocomplete" )._renderItem = function( ul, item ) {
$("#tag_list").show();
return $( '<li class="ui-menu-item"></li>' )
.data( "item.autocomplete", item )
.append( '<a class="ui-corner-all">' + item.tagname + '<br /> category: ' + item.tagcatname + ( item.tagsubcatname.length!= 0 ? '<br /> subcategory: ' + item.tagsubcatname : '' )+ '</a>' )
.appendTo( $("#tag_list") ); };
i have looked in the plugin source to find is there a private function for disabling this, but without success.
please help