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 | |
Best way to attach smileys into textfield?
|
0 | 81 | December 28, 2004 | |
Best way to attach smileys into textfield?
|
0 | 73 | December 28, 2004 | |
Help?
|
0 | 49 | September 16, 2007 | |
Couple of clickable textfield questions | 0 | 109 | November 8, 2011 |