jquery if already display none code example
Example 1: how to check if div is display none jquery
if(!$('#yourID').is(':visible'))
{
}
Example 2: how to check if div is display none jquery
if($('#yourID:visible').length == 0)
{
}
if(!$('#yourID').is(':visible'))
{
}
if($('#yourID:visible').length == 0)
{
}