check if div has visible content code example Example: jquery if is visible $('.eipC:visible').length //or $('.eipC').is(':visible').length