how to get the value of a htlm textarea javascript code example
Example: capture textarea value
<textarea id="myTextarea">
Hello World
</textarea>
<script>
var x = document.getElementById("myTextarea").value;
</script>
<textarea id="myTextarea">
Hello World
</textarea>
<script>
var x = document.getElementById("myTextarea").value;
</script>