How to select li in repeated ul with same class at click event
<div id="holder">
<ul class="pattern">
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
<ul class="pattern">
<li>4</li>
<li>5</li>
<li>6</li>
</ul>
<ul class="pattern">
<li>7</li>
<li>8</li>
<li>9</li>
<li>10</li>
</ul>
</div>
i want to select/get the li with number 5(ex only), pls assume that i have a bunch of ul with same classes.
since i have a lot of ul, im looking for selecting the index of ul then select the li.