I've managed to get the text a user has selected on a page (in a DIV not
a TEXTAREA) but I don't understand DOM methods well enough to change it.
That it to replace the text with some other text.
I've tried using deleteContents but I couldn't get it to work. And my
experiments with insertNode worked only intermittently.
I've read the relevant sections of developer.mozilla.org but while I
understand what the methods are supposed to do I can't actually get them
to work. Is there some info of a basic nature that explains their usage?
Andrew Poulos