how to check if an element is visible in jquery code example
Example 1: CHECK IF element is hidden jquery
// 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 if is visible
$('.eipC:visible').length
//or
$('.eipC').is(':visible').length