getting hidden elements

Posted by Emin on Stack Overflow See other posts from Stack Overflow or by Emin
Published on 2010-05-22T15:52:52Z Indexed on 2010/05/22 16:00 UTC
Read the original article Hit count: 184

Filed under:

Say I have the following unordered list

<ul class="container">
  <li class="item" style="display: none;">first item</li>
  <li class="item">second item</li>
  <li class="item">third item</li>
  <li class="item">forth item</li>
</ul>

how can I carry out a task only if all the items in the container are hidden?

regards...

© Stack Overflow or respective owner

Related posts about jQuery