check if div is show jquery code example
Example 1: jquery how to know if element is visible
// Checks CSS content for display:[none|block], ignores visibility:[true|false]
$(element).is(":visible");
// The same works with hidden
$(element).is(":hidden");
Example 2: jquery check if all elements hidden
if($('#list-team-single-container').children(':visible').length == 0) {
// action when all are hidden
}