How to reach child element within <a> element
<p>I have a structure like this</p>

<pre><code> &lt;ul&gt;
  &lt;li&gt;
    &lt;a&gt;
     &lt;img /&gt;
     &lt;span /&gt;
    &lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt; 
    ......
  &lt;/li&gt;
  &lt;li&gt; 
    ......
  &lt;/li&gt;
 &lt;/ul&gt;
</code></pre>

<p>I am using jquery like this#</p>

<pre><code>            $("ul#someid").find("li:last &gt; a[name="some.....]
</code></pre>

<p>How can i access the img element and the span element within the "a" element like above.</p>

<p>i am using now like this</p>

<pre><code>  $("ul#pushedProducts").find("li:last &gt; a[name= &lt;%=PushedProductsParametersMapper.PARAMS_PRODUCTS_INFO%&gt;]").children('span').attr({name:'&lt;%=PushedProductsParametersMapper.PARAMS_PRODUCTS_INFO%&gt;' + pushedProductsTypesCount, id:'&lt;%=PushedProductsParametersMapper.PARAMS_PRODUCTS_INFO%&gt;' + pushedProductsTypesCount , style :'display:none;'});
</code></pre>
