getSelection method is a method of NSHTMLDocument.
To getting the selected text in this page, call "document.getSelection();" :-)
If you push the "getSelection" button, call this method and show result in textarea.
Caution:
return value of getSelection method is DOMString including hyper link.[ Moz0.6- :-)]
Made by Hagiwara.
It's free to copy and arrange this sample.
But please keep to regulation of MDSProject.
Last update 2001.07.29