jQuery detect visible but hidden elements
Posted
by IP
on Stack Overflow
See other posts from Stack Overflow
or by IP
Published on 2010-03-31T14:00:33Z
Indexed on
2010/03/31
14:03 UTC
Read the original article
Hit count: 291
This seems like it should be fairly easy - but I can't find the right selector for it
According to the docs (http://api.jquery.com/hidden-selector/ and http://api.jquery.com/visible-selector/)...
Elements can be considered hidden for several reasons:
An ancestor element is hidden, so the element is not shown on the page.
What I want to detect is "this element is visible, but is contained in a hidden parent". Ie, if I made the parent visible, this element would also be visible.
© Stack Overflow or respective owner