I have 4 jQuery autocomplete text fields. I need to add some style to one specific autocomplete list.
The ul is added to the body with the ui-autocomplete . There is no link in which it will be indicated to which ul text field belongs.
So I need to add a style to the user interface after Ajax Success or some option that comes with
$("#srchList").autocomplete( source: function (request, response) { $.ajax({ ..... success: function (d) { }, ...... }); }, open: .... select : ..... ).data('autocomplete')._renderItem = function (liObj, item) {
There are several options such as open :, positon: etc. But none of them get ul-control for me to apply css style to it.
Please help me get a link to ul for one specific text field.
DOM structure: the text box is somewhere inside the <form>

Thanks in advance.
source share