check if element is visible jquery
snippet in javascript

CHECK IF element is hidden jquery

user8859

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

// The same works with hidden
$(element).is(":hidden");

check if element is visible jquery

user4689

.is(':visible')
//Selects all elements that are visible.

if($('#Div').is(':visible')){
	// add whatever code you want to run here.
}

$('#yourDiv:visible').callYourFunction();

jquery see if element is visible

user515

.is(':visible')
//Selects all elements that are visible.

if($('#yourDiv').is(':visible')){
	//do stuff in here
}
//or
$('#yourDiv:visible').callYourFunction();

jquery is element hidden

user2128

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