I have a menu like this;
<ul>
<li><a>1</a></li>
<li><a>2</a>
<ul>
<li><a>3</a></li>
<li><a>4</a></li>
<li><a>5</a></li>
<li><a>6</a>
<ul>
<li><a>7</a></li>
<li><a>8</a></li>
<li><a>9</a></li>
</ul>
</li>
</ul>
<li><a>10</li>
</ul>
If i want to make an selection on the 2nd level with jQuery.
$('ul li ul li') { action() }
But when i do this, this action will also be adopted by it's children, (ul li ul li ul li) i don't want that to happen.
I just want to select (ul li ul li).
With jQuery, how do i make it work?