Hi all,

Someone typed in some text in an iFrame, and then selected part of that text. Now how can I for instance display the selected part with an alert message?

I know I can get the whole text with:
iFramename.document.body.innerHTML


I also know there is the selection object/property, but I can't seem to get the right combination to be able to get the selected text.

Any help would be highly appreciated.