Answers for "can we use value in textarea"

4

capture textarea value

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

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

assign value to textarea

<textarea class="article-input" id="article-input" type="text" rows="9" >{{article}}</textarea>
Posted by: Guest on August-10-2020

Code answers related to "can we use value in textarea"

Browse Popular Code Answers by Language