how to replace a textarea with text 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>