Question on textarea tag....
Posted on 1998-09-23
Let me explain a little.
I'm trying to create an online application in which I'll be doing some text editing in a textarea tag. Well, I want to add some tools (buttons) that when clicked on, it will insert predefined text at the cursor position.
I know that I could take the contents and append to it, but that will only put the predefined text at the end of the current text. I want to be able to insert it anywhere inside the current text, e.g. I have a textarea that has the content, "There will be no weekly meeting on 9/24/98." I want to have 5 buttons, each labeled with the day of the week that I could use to insert say, Thursday in between the "on" and the "9/24/98".
If you have ANY information on this, PLEASE let me know. Thanks all!