I am referring to this plugin: http://jqueryui.com/demos/autocomplete/
So the original structure for the results is
You could try add the attributes with the event "open":
$( ".selector" ).autocomplete({ open: function(event, ui) { var jArrEl = $("a.ui-corner-all"); jArrEl.addClass("myclass"); jArrEl.attr("customattribute","something"); } });