Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Need help with Javascript

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
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
Close
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
Close
0
Close
I dont understand this. It's foreign and when I put it to my needs how do I get the code?
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back