|
-
Aug 14th, 2001, 05:00 AM
#1
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|