Reading iFrame content from javascript
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.
Re: Reading iFrame content from javascript
Hi,
could you please explain how to do this. i refered to the url but still then i am having some confusions