how to change text of jtextarea 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>