title: How can I getting textarea value using javascript
body: <p>I want to make submit event depend textarea value. cause i want to check textarea is vaild. so when I was using javascript function getElementByid, it result was placeholder value.</p>
  
  <p>I just want to know how can I fix it.</p>
  
  
  
  <pre><code>&lt;div class="clearfix"&gt;
      &lt;div class="input"&gt;
          &lt;textarea name="comment" id="comment" placeholder="&lt;?php _e("Your Comment Here", "bonestheme"); ?&gt;" tabindex="4" style="border:1px solid #cbcbcb; resize:none"&gt;&lt;/textarea&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="form-actions"&gt;
    &lt;input class="btn-commnet" name="submit" type="submit" id="submit" tabindex="5" value="&lt;?php _e("Submit Comment","bonestheme"); ?&gt;" /&gt;
  &lt;/div&gt;
  
  &lt;?php endif; ?&gt;
  </code></pre>