check if div is display none vanilla javascript not jquery 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)
{
}