|
-
Oct 15th, 2002, 01:06 AM
#1
Thread Starter
PowerPoster
*RESOLVED* TextArea - Append
Hi all,
On a image click i have this javascript
Code:
<script language="javascript">
function smile(){
document.form1.message.value = 'blablahblah';
}
</script>
Now this inserts blahblahblah into the textarea but erases the textareas content!
How can i get it to Append it to the end of the text area?
thanks for any help!
b
-
Oct 15th, 2002, 01:08 AM
#2
Thread Starter
PowerPoster
Ignore i forgot about the + sign!
heheh 
Answer for others:
<script language="javascript">
function smile(){
document.form1.message.value+= 'blablahblah';
}
</script>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|