How to get tag <h2> in a div class by javascript
<p>i wanna get value of h2 in class "myClass" </p>

<pre><code>&lt;div class="myClass"&gt;
  &lt;h2&gt;some text&lt;h2&gt;
&lt;/div&gt;
</code></pre>

<p>so when in javascript function can write
  <pre>some text</pre></p>

<p>may be by document.getElementBy bla bla bla Whatever. i dont have idea about js code. </p>

<p>Any Ideas?</p>