javascript get content of textarea code example
Example 1: capture textarea value
<textarea id="myTextarea">
Hello World
</textarea>
<script>
var x = document.getElementById("myTextarea").value;
</script>
Example 2: javascript find textarea
if(document.getElementsByTagName('textarea').length > 0) {
}