JavaScript, modifying highlighted text

by "Yann Rapetto" <yrapetto(at)alese.com>

 Date:  Fri, 19 Oct 2001 11:14:01 -0700
 To:  <hwg-languages(at)hwg.org>
  todo: View Thread, Original
Hello all
I need some help with JavaScript.
I am looking for a way to:
After highligting a portion of text within a text box (textarea) in a form
and after clicking a button, the javascript open a promt window with the
selected text in it, giving me the opportunity to modify it. Then after
clicking OK, it subsitute ONLY the selected text within the textarea to the
new text.

I don't even know if it's possible with JavaScript but if any of you out
there can help me with some sample codes or even directing me to some
material on the web, I will appreciate it.
I spend days looking for a solution without success
Thank you

Yann

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA