View Single Post
Old 03-22-2011, 08:12 PM   #1 (permalink)
Tim Dobson
The Contributor
 
Tim Dobson's Avatar
 
Join Date: Feb 2010
Posts: 69
Thanks: 16
Tim Dobson is on a distinguished road
Default Add to text field when clicked?

1 button and 1 text area

PHP Code:
<textarea name="addpaste" cols="100" rows="25" id="addpaste"></textarea>
<
br />
<
input type="button" value="Bold" name="addbld" /> 
Now what i need to do is when the the button is pressed i need [bld] to be inserted in to the textarea. Any suggestions? thanks.
Tim Dobson is offline  
Reply With Quote