Eq Selector Question

Eq Selector Question

Hello, I have a question pertaining to the "eq" selector in jQuery.


I"m using something like this to apply classes to the navigation menu below.


$.each($('ul.menu'), function(){

$('#' + this.id + '.expandsecond ul:eq(1)').show();

});


Which applys the class "expandfirst" to the first nested ul. Does anyone know how I can apply this to a <ul> even deeper, the third level navigation essentially? 


<ul id="menu" class="expandfirst">

<li>choice 1

<ul>

<li>sub choice 1</li>

<li>sub choice 2

<ul>

<li>third level deep choice 1</li>

<li>third level deep choice 2</li>

</ul>

</li>

</ul>

</li>

<li>choice 2</li>

<li>choice 3</li>

<li>choice 4</li>

</ul>



Thank you so much!