Response title
This is preview!




- input.data( "autocomplete" )._renderItem = function( ul, item ) {
- return $( "<li>" )
- .data( "item.autocomplete", item )
- .append( "<a>" + item.label + "</a>" )
- .appendTo( ul );
- });
Looking around, I found a possible solution:
- var obj = input.data( "autocomplete" );
- obj && (obj._renderItem = function( ul, item ) {
- return $( "<li>" )
- .data( "item.autocomplete", item )
- .append( "<a>" + item.label + "</a>" )
- .appendTo( ul );
- });
But that only makes the map going smoothly, but the combobox still malfunctioning.
© 2012 jQuery Foundation
Sponsored by
and others.
