Selected text in WEB Textarea

Is there any way to discover what text is highlighted (selected) in a web page textarea? I’ve searched throughout the docs and can’t find any way to do this.

It is possible in JavaScript, with the kind of code posted here :
http://stackoverflow.com/questions/5379120/get-the-highlighted-selected-text

http://stackoverflow.com/questions/3221246/get-selected-text-in-textarea

Thanks. Since I don’t know Javascript, I’m kind of lost. I guess what you’re telling me is you can’t do it in Xojo.

That’s right. WebTextArea does not have any property that would enable you to get the selected text, as would SelText in Desktop TextArea.