title: Find All a values in ul li
body: <p>I'm trying to find the list of inner text values of <code>span</code> in <code>a</code> elements within one <code>ul</code> in a <code>div</code></p>
  
  <p>In other words, having the markup:</p>
  
  <pre><code>&lt;div id="MyId"&gt;
     &lt;ul&gt;
        &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Val1&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;Val2&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I'd like to get the array [Val1, Val2] where the div id is my input. I've written some dirty jQuery code involving the <code>each</code> on <code>ul</code> function but it's more complicated than what it should be.</p>