//This will give you the input of the text area let value = document.getElementById('myTextarea').value;