title: How to get value of a text area using Java Script?
body: <p>I want to fetch the text(Againnnn ??) from below html code.</p>
  
  <pre><code>&lt;pre class="mentions-highlighter" role="presentation"&gt;Againnnn ??&lt;/pre&gt;
  &lt;textarea class="mentions-input trans" placeholder="Add a comment..." style="height: 47px;" dir="ltr"&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>I tried this but it didn't worked properly.</p>
  
  <pre><code>var comment = document.getElementsByClassName('.mentions-input trans').value;
  </code></pre>