I am trying to get the value of a html that does not have an id.
Code -
<section class="post">
<textarea rows="5" placeholder="(New Post)"></textarea>
</section>
JS i've tried::
var entryText = document.textarea.value;
var entryText = document.getElementsByTagName.value;