Autocomplete in JQuery is not working properly -
i trying use jquery auto complete .it not working showing 1 option every time don't why getting this.
code
var options_df1 = { serviceurl: '/'+company+'/city_names.html', width: 230, minchars: 1, maxheight: 500, delimiter: /(,|;)\s*/, onselect: onautocompleteselect_df1, deferrequestby: 0, //miliseconds params:{country: 'yes'}, }; var onautocompleteselect_df1 = function(value_df, data_df) { startlocation_df = data_df; }
i hope problem because of caching use code .use nocache property
var options_df1 = { serviceurl: '/'+company+'/city_names.html', width: 230, minchars: 1, maxheight: 500, delimiter: /(,|;)\s*/, onselect: onautocompleteselect_df1, deferrequestby: 0, //miliseconds params:{country: 'yes'}, nocache: false //set true, disable caching };
Comments
Post a Comment