So I have an input which I integrated jQuery autocomplete. I don’t know how to explain this. I am trying to change the style of the text in the autocomplete if is typed, something like google has for its autocomplete:

Note that in the autocomplete, ‘stackover’ is lighter than the rest of the word.
This is the CSS which is used for the text: .ui-menu .ui-menu-item a
Does anyone know how to do this?
Thanks alot
You could subscribe for the
openevent and append a span around the matched term so that you could style it accordingly:Here’s a live demo.