Sending text to textarea
- by user2536258
I have a textarea that I would like to send a value to and I am using the following to achieve this..
<textarea style="width: 300px; height: 150px;" name="message"></textarea>
<a href="#updates" onclick="document.sendform.message.value='7'; return true;"style="color:white">Year 7</a>
This is working as expected however it also overwrites any text that is in the textarea already, is there any way I can achieve this without over writing the existing text in the textarea?
Thanks