New answers tagged


It depends...there are factors like how much of the string you will end up highlighting. If your results are long and you've only typed a couple of characters, then by highlighting everything, you highlight nothing. Use option 1 when the text the user is searching for may appear anywhere as a substring, so that the user can identify where the match is ...

Top 50 recent answers are included