How to raise event on certain text selection in html page ?
Hi,
suppose i have a html page with text, links and what ever else a page contains.
On selection of Text on the html page i want to raise some event that will do something . But what that event is known as ?
By text selection i mean placing mouse pointer to some text and left clicking and moving the mouse either to left or right . Now when user selects some portion of text and releases the mouse's left click button a event should be raised . Obviously that event should know what was the selected text.
So is it possible ? If yes please tell how.
I will be ever thankful to you .
Thanks