Results 1 to 1 of 1
Thread: Delete from textbox button
Jul 27, 2007, 21:48 #1
- Join Date
- Dec 2005
- 0 Post(s)
- 0 Thread(s)
Delete from textbox button
Please look at this demo: http://www.freewebs.com/moreauctions/addtobox.html
As you can see this script adds linebreak after each entry.
What I would like to do is have another button to undo each entry.
So let's say the content of the textarea is:
We want the value of text area to always end with a linebreak so onclick it would get the value of textarea, start at the end and delete the last linebreak any text before it, stopping at the next linebreak.