How Do I Check if an Element is Hidden using jQuery?
There are a few ways to check whether an element is hidden using jQuery. This checks the CSS
if(jQuery(element).css('display')=='none'){
// If True
}
If you are working with drop downs and you want to see if it is collapsed:
if(jQuery(element).is(':hidden')){
// If True
}