Posted on: 10/13/2012 2:50:13 AM | Views : 332

I have this structure.,
<ul>
<div id='div1' class='cls_Pages'>
</div>
<li id=li1>Text1</li>
<li id=li2>Text2</li>
<div  id='div2' class='cls_Pages'>
</div>
<li id=li3>Text1</li>
<li id=li4>Text2</li>
<div  id='div3' class='cls_Pages'>
</div>
<li id=li5>Text1</li>
<li id=li6>Text2</li>
</ul>

I need to get all <li> under <div2> not inside <div2> while click a button, but it should not take the <li> of 'div1' and 'div3'..
How can i get this in Jquery?
I need the output like.,
<li id=li3>Te ...

Go to the complete details ...