code:
<script language="javascript">
function quotethingforwj(quote,id){
blah = document.getElementsByName('notes[' + id + ']');
old = blah[0].value;
blah[0].value = old + quote;
}
</script>
e.g
<a href="javascript:quotethingforwj('if omar would pay, i would come', 1)">add quote</a>
<textarea name="notes[1]" value=""></textarea>