Answers for "textarea values"

3

capture textarea value

<textarea id="myTextarea">
Hello World
</textarea>

<script>
  var x = document.getElementById("myTextarea").value;
</script>
Posted by: Guest on April-13-2020
1

syntax is being placed in my textarea in html

<textarea name="comment" rows="5" cols="100"></textarea></br></br>
Posted by: Guest on November-24-2020

Browse Popular Code Answers by Language