title: Loop through multiple ul list
body: <p>I have multiple <code>&lt;ul&gt;</code> list with the same number of <code>&lt;li&gt;</code> elements:</p>
  
  <pre><code>&lt;ul id='first'&gt;
    &lt;li&gt;1&lt;/li&gt;
    &lt;li&gt;2&lt;/li&gt;
    &lt;li&gt;3&lt;/li&gt;
    &lt;li&gt;4&lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;ul id='second'&gt;
    &lt;li&gt;5&lt;/li&gt;
    &lt;li&gt;6&lt;/li&gt;
    &lt;li&gt;7&lt;/li&gt;
    &lt;li&gt;8&lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;ul id='third'&gt;
    &lt;li&gt;9&lt;/li&gt;
    &lt;li&gt;10&lt;/li&gt;
    &lt;li&gt;11&lt;/li&gt;
    &lt;li&gt;12&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I want to first get the first <code>&lt;li&gt;</code> element of each  <code>&lt;ul&gt;</code> (1,5,9), then the second for each (2,6,10) and so on.</p>
  
  <p>I know that I can get the all <code>&lt;li&gt;</code> elements of a <code>&lt;ul&gt;</code> by <code>$('#first li').each(...)</code>. Is there a similar command to get the <code>&lt;li&gt;</code>  elements in the above described order?</p>