When I try to implement auto-complete using the code below I get an error stating:
.data(\"autocomplete\") is undefined
How ever if I remove th
You can implement the below mentioned line
.autocomplete( "instance" )._renderItem = function( ul, item ) {
instate of
.data("autocomplete")._renderItem = function (ul, item) {
as per the documentation available at Jquery site Jquery AutoComplete Documentation and example you will find this code.
from upgraded version of jquery 1.10 they have made change in code. hope this will help you.