Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 409
  • Last Modified:

DIV Visibility Checking

Is there a way to check visibility of a DIV, like:
if (obj.visibility == "hidden")

Thanks.
0
BartS
Asked:
BartS
1 Solution
 
CJ_SCommented:
yessssssss!!!!

if(document.divname.style.visibility=="hidden")
   alert("div is showing")


this is voor IE.....for Netscape you hafta get lost of the 'style' and use the word 'hide' instead of hidden
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now