hidden or a style like
display: none;, it can get tricky with nested elements.
jQuery to the rescue!
Assuming you have an element like this:
<div id="myElement"> Am I hidden or not? </div>
You can simply check for its visibility by using this code: