I was using Jquery ui auto-complete with version 1.8.2 and later i shifted to 1.8.11. I started having problems.

1.8.2

1.8.11
$('#term').autocomplete({
minLength : 4,
source : rootPath+'/search',
select: function(event, ui)
{
window.location = ui.item.url;
}
});
Thanks
For you to render a custom HTML element in Auto Complete you need to use ._renderItem.
Once you render custom data then you can capture that using select method and process it the way you want.
Use following link to learn abour custom data formatting in jquery auto-complete
http://jqueryui.com/autocomplete/#custom-data
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With