I have a simple auto complete where I'd like to make changes to the result display.
Here is the basic code.
This currently works fine, but I'd like to make the results alternatively highlight every row. So if the letter m was entered, this might appear:Code:$('#names').autocomplete({ source: "processor.php", minLength: 1 });
Maggie (highlighted in color 1 or with class 1)
Margaret (highlighted in color 2 or with class 2)
Mary (highlighted in color 1 or with class 1)
Can someone tell me how I might accomplish this?



Reply With Quote




Bookmarks