I have a DIV field which contains some lyrics. I want to know when user is dragged & selected some part of the lyrics. How is this can be done? Example is shown below:
In this example user is dragged & selected the part which has a blue background. I want JavaScript to select "I can't believe that my sanity lies in abandoning you" part of the text. Is this possible to do?