html - Access grand child elements from the DOM in jquery? -


how go accessing grand child elements within in ul structure such jquery:

<ul>    <li>sample</li>    <li>sample</li>    <li>sample</li>    <li>         <ul>             <li>need access li</li>         </ul>    </li>    <li>sample</li>  </ul> 

should simple

$('ul li ul li') 

Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -