Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery see if element is visible

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

if($('#yourDiv').is(':visible')){
	//do stuff in here
}
//or
$('#yourDiv:visible').callYourFunction();
 
PREVIOUS NEXT
Tagged: #jquery #element #visible
ADD COMMENT
Topic
Name
2+1 =