Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

capture textarea value

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

<script>
  var x = document.getElementById("myTextarea").value;
</script>
 
PREVIOUS NEXT
Tagged: #capture #textarea
ADD COMMENT
Topic
Name
6+6 =