Dynadot โ€” .com Registration $8.99

Need help with Javascript

Spacemail by SpaceshipSpacemail by Spaceship
Watch

D@Z

Established Member
Impact
0
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;
Code:
<textarea cols="31" rows="9" name="comments" maxlength="2000" id="commentsbox" onkeyup="ReloadTextDiv()"></textarea>
If you need any additional code please ask. Thanks.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Usually all the buttons are is graphics.
 
0
•••
0
•••
I dont understand this. It's foreign and when I put it to my needs how do I get the code?
 
0
•••
Unstoppable Domains
Domain Recover
DomainEasy โ€” Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back