Answers for "how to change whats in a textarea"

1

how to set textarea from string

document.getElementById('myTextarea').value = '';
Posted by: Guest on June-25-2021
0

how to change whats in a textarea

document.getElementById('myTextarea').value = '';
// in html:
//<textarea id="myTextarea" name="something">This text gets removed</textarea>
Posted by: Guest on December-31-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language