Could you please help me in highlighting the typed words in the auto complete text box. i am already populating the autocomplete words and i need to just highlight the typed
For a correct render in jQuery UI - v1.12.1 use "div", not "a"
$.ui.autocomplete.prototype._renderItem = function (ul, item) {
var t = String(item.value).replace(
new RegExp(this.term, "gi"),
"$&");
return $("")
.data("item.autocomplete", item)
.append("