jquery check visibility visible code example
Example 1: jquery visibility hidden show
$(".Deposit").css('visibility', 'visible');
Example 2: check if element is visible
.is(':visible')
//Selects all elements that are visible.
if($('#Div').is(':visible')){
// add whatever code you want to run here.
}
$('#yourDiv:visible').callYourFunction();