I'm hoping someone can clarify the expected behaviour of the :visible
and :hidden filters when the parent element is hidden(display: none).
Will these filters consider these invisible-to-the-user elements
visible, or hidden?

For example:
  <div id="hidden-div-1" style="display:none;">
    <div id="inside-hidden-div">This div is inside a hidden div.</div>
  </div>

So will $("#inside-hidden-div:hidden") return the element? My
expectation was that this *would* have returned the element, but it
does not.

There is an old ticket that seems to be related to this issue:
http://dev.jquery.com/ticket/1349

Thanks!
--
anastasia


Reply via email to