when any changes are made to textarea 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>