hwg-languages archives | Oct 2001 | new search | results | previous | next |
JavaScript, modifying highlighted textby "Yann Rapetto" <yrapetto(at)alese.com> |
|
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