given a text field or text input field with following content:
"the fox is brown"
the user selects "fox"
How can I find out in Javascript what the user has selected. I would even accept that the user has to clici a button after selection of a text part to provide an event.
Regards
Martin