title: I am Trying to get a value inside a span tag. The Span tag is Wrapped in an anchor tag which is wrapped a Div my code looks like as follows
body: <p><strong>HTML</strong></p>
  
  <pre><code> &lt;div id="tab1"&gt;
         &lt;ul class="tabs ui-helper"&gt;
          &lt;li class="state ui-top"&gt;
              &lt;a href="#tab1_2"&gt;
                  &lt;span&gt;XYZ, ABC &lt;/span&gt;
          &lt;/a&gt;
           &lt;/li&gt;
         &lt;/ul&gt;
        &lt;/div&gt;
  </code></pre>
  
  <p><strong>JS</strong></p>
  
  <pre><code>parentFrame.document.getElementById('tab1')
  </code></pre>
  
  <p>I am able to get the div </p>
  
  <p>please help me how to navigate through div and get the value in the span</p>