Jquery USES visible to determine whether a tag is displayed or hidden

  • 2020-03-30 02:52:58
  • OfStack

 
if($(".spnTotal").is(":visible")==false) 
{ 
alert(' hidden '); 
} 
else 
{ 
alert(' According to '); 
} 

Related articles: