title: Jquery, get an array of text()
body: <p>I am trying to get and array of text after using the text function, having a ul list like</p>
  
  <pre><code>&lt;ul&gt;
    &lt;li&gt;one
      &lt;ul&gt;
        &lt;li&gt;one one&lt;/li&gt;
        &lt;li&gt;one two&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>then get something like</p>
  
  <pre><code>['one', 'one one', 'one two']
  </code></pre>