Extracting 2 elements from ul using cheerio
<p>Id like to extract 2 elements from each <code>li</code> inside this unordered list:</p>

<pre><code>&lt;ul class="cookieAlertList padTop10"&gt;

      &lt;li&gt;

       &lt;img src="images/cookieradar/iconHot.gif" /&gt;
       &lt;div class="cookieAlertDesc"&gt;
       &lt;a href="/P.aspx?p=16aa6d76104"&gt;
        Peanut Butter Chocolate Chunk
       &lt;/a&gt;
       &lt;br /&gt;
       &lt;small&gt;44 mins ago&lt;/small&gt;
       &lt;/div&gt;

      &lt;/li&gt;

      &lt;li&gt;

       &lt;img src="images/cookieradar/iconHot.gif" /&gt;
       &lt;div class="cookieAlertDesc"&gt;
       &lt;a href="/P.aspx?p=15936a56102"&gt;
        Oatmeal Wheatgerm Chocolate Chip
       &lt;/a&gt;
       &lt;br /&gt;
       &lt;small&gt;48 mins ago&lt;/small&gt;
       &lt;/div&gt;

      &lt;/li&gt;

     &lt;/ul&gt;
</code></pre>

<p>For each of those list items, id like to extract the cookie name (contained in the  element) and the time, contained in the  element.</p>

<p>I was able to extract the 2 list items using:</p>

<p><code>var li = $('.cookieAlertList').find('li');</code></p>

<p>but not sure how to proceed.</p>