Answer the question
In order to leave comments, you need to log in
How to change the color of a part of a word when searching?
Good afternoon. There is input. We enter text, for example "Moscow" and there is an absolute block with a list of similar cities found, that is, it will be in the "Moscow" block.
And you have a question, if I enter a part of the word "Moscow", that is, "Mo", for example, in an absolute block with a list, this part of the word should get a different color.
Input - "Mo"
Absolute block - " Mo squa"
or
Input - "Ba"
Absolute block - "Despasar Bali " Please
help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question