Hello. I have made a shout box with buttons to let the user add smileys, formatting etc. I have done this perfectly but my problem is this. When adding the code to the textfield for example [ b] and [ / b], it always adds to the end of the textfield and not where the cursor is on. How can I do this? Like for example in this forum I highlight a text and click on the B button the code [ b] and [ / b] wraps around and the highlighted text. :-/
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Adding vB code like to a textfield - correctly! | 0 | 118 | April 13, 2004 | |
Textcursor problem | 0 | 89 | November 13, 2007 | |
MX2004PRO[AS2.0] text disappears in html textfield when <b></b> tags are added | 0 | 89 | April 28, 2008 | |
Textbox.text : formatting
|
0 | 77 | November 26, 2003 | |
Textbox.text : formatting
|
0 | 53 | November 26, 2003 |