1// Checks CSS content for display:[none|block], ignores visibility:[true|false]
2$(element).is(":visible");
3
4// The same works with hidden
5$(element).is(":hidden");
1// Checks css for display:[none|block], ignores visibility:[true|false]
2$(element).is(":hidden");
3