Since I switched from jqueryui 1.8.1 to 1.10.x I realised that my custom item renderer doesn't work anymore:
Uncaught TypeError: Cannot set property '_renderItem' of undefined
What is different in new jqueryui versions?
Here my code:
$("#lexicon-search-input")
.autocomplete({
...
}).data("autocomplete")._renderItem = customItemRenderer;
This was working on jqueryui 1.8.1 but doesn't on 1.10.3.
One more thing: I use multiple autocomplete fields. Therefore, I can not set it globally. For instance, $.ui.autocomplete.prototype._renderItem = customRenderItem would work, but will affect all of my autocompletes.