1/*Let's say you have the following <textarea> tag:
2<textarea id="inputMethod"></textarea>
3
4And you want to see it's value. Here's a function you could use:
5*/
6
7function getTextArea() {
8 let value = document.getElementById("inputMethod").value; // Gets value of 'inputMethod' textarea
9 console.log(value); // Prints value to console
10 return value;
11}
12
13
14