title: i want to get the text form the h4 tag
body: <p>How to get the text value from </p>
  
  <pre><code>&lt;div   style="margin-top:15px;"   class="shortHeader"   id="someid"&gt;
    &lt;div&gt;
      &lt;h4 id="someidvalue"&gt;text&lt;/h4&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>i have tried with the below code and it says undefined:</strong></p>
  
  <pre><code>document.getElementById("someid").getElementsByTagName("div")[0]
          .getElementsByTagName("h4")[0].innerHTML;
  </code></pre>