There is a standard jQuery Autocomplete template with this search hint structure: ul -> li, but I can't figure out how to change ul to div. Please explain me how to do it.
.data("ui-autocomplete")._renderItem =
function (ul, item) {
return $('<li>')
.data("item.autocomplete", item)
.addClass("mse2-ac-wrapper")
.append($("<div>").addClass('mse2-ac-link').html(item.label))
//.append("<a class=\"mse2-ac-link\">" + item.label + "</a>")
.appendTo(ul);
};