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 | |
---|---|---|---|---|
Help?
|
0 | 49 | September 16, 2007 | |
Couple of clickable textfield questions | 0 | 109 | November 8, 2011 | |
Adding vars to textfield
|
0 | 88 | August 25, 2009 | |
Textfield question
|
0 | 61 | March 22, 2010 | |
Need help with textfield thingy
|
0 | 92 | October 6, 2008 |