I have a div containing some text:
<div>Some text here</div>
I also have a text box in which the user enters a search string.
Is there a CSS way to set the background-color property for a text string matching a specific keyword entered in the search box?
What I have done now is to find and replace using JavaScript. I am ready to use jQuery for this.
user3368817
source share