set text in textarea js code example
Example: how to change whats in a textarea
document.getElementById('myTextarea').value = '';
// in html:
//<textarea id="myTextarea" name="something">This text gets removed</textarea>
document.getElementById('myTextarea').value = '';
// in html:
//<textarea id="myTextarea" name="something">This text gets removed</textarea>