title: How to create array in JQuery using DOM extracted text values
body: <p>Using JQuery, I want to create an array such as [TextA, TextB, ... Text I]. These array elements are to be extracted from the html code similar to shown below. I'm beginner in this field and tried extrating single text value using:</p>
  
  <pre><code>$('a.curT',$( this )).text();
  </code></pre>
  
  <p>"But its not working" as I am no getting "Text E" as the desired output. Also I don't have idea how to create an array using the extracted values.</p>
  
  <pre><code>&lt;li class="top1"&gt;
  &lt;a class="tc1" href="link" title="title"&gt;Some Text&lt;/a&gt;
  &lt;div class="top2 current"&gt;
      &lt;div class="column" style="width:25%"&gt;
          &lt;ul&gt;    
              &lt;li class="class1"&gt;&lt;a href="linkA" title="A"&gt;&lt;strong&gt;Text A&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
              &lt;li class="class1"&gt;&lt;a href="linkB" title="B"&gt;&lt;strong&gt;Text B&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
              &lt;li class="class1"&gt;&lt;a href="linkC" title="C"&gt;&lt;strong&gt;Text C&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;    
          &lt;/ul&gt;
      &lt;/div&gt;                    
      &lt;div class="column" style="width:25%"&gt;
          &lt;ul&gt;    
              &lt;li class="class1"&gt;&lt;a href="linkD" title="D"&gt;&lt;strong&gt;Text D&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
              &lt;li class="class2"&gt;&lt;a href="linkE" title="E" class="curT"&gt;&lt;strong&gt;Text E&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
              &lt;li class="class1"&gt;&lt;a href="linkF" title="F"&gt;&lt;strong&gt;Text F&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt; 
      &lt;div class="column" style="width:25%"&gt;
          &lt;ul&gt;    
              &lt;li class="class1"&gt;&lt;a href="linkG" title="G"&gt;&lt;strong&gt;Text G&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
              &lt;li class="class1"&gt;&lt;a href="linkH" title="H"&gt;&lt;strong&gt;Text H&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;    
          &lt;/ul&gt;
      &lt;/div&gt;    
      &lt;div class="column" style="width:25%"&gt;
          &lt;ul&gt;    
              &lt;li class="class1"&gt;&lt;a href="linkI" title="I"&gt;&lt;strong&gt;Text I&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt; 
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></li>   </p>
  
  <p>Any suggstion in this direction will be very helpful.
  Thank you. </p>