Is there any way to change the background-color of text in a web page dynamically, while select the particular text. 
Ex :
Sample text display in the html page. I want to high light the particular text in that page, while selecting from mouse pointer.
My Ground Work :
Add the class "CSS Style" for particular selected text. But how to take the selected text from a web page dynamically.
 
    