Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How do I check if an element is hidden in jQuery?

// Checks CSS content for display:[none|block], ignores visibility:[true|false]
$(element).is(":visible");

// The same works with hidden
$(element).is(":hidden");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #I #check #element #hidden
ADD COMMENT
Topic
Name
2+8 =