Can someone please tell me how to add buttons to my form so that when it is clicked text automatically is added to the textbox (like we see on forums).
I need the buttons to add;
[ b ][ /b ]
[ i ][ /i ]
[ u ][ /u ]
[ quote= ][ /quote ]
Here is my current textbox code;
If you need any additional code please ask. Thanks.
I need the buttons to add;
[ b ][ /b ]
[ i ][ /i ]
[ u ][ /u ]
[ quote= ][ /quote ]
Here is my current textbox code;
Code:
<textarea cols="31" rows="9" name="comments" maxlength="2000" id="commentsbox" onkeyup="ReloadTextDiv()"></textarea>







