1 | initial version |
You can use the jQuery .is(":hidden")
method to verify if an element is concealed.
For example, if you have an element with an ID of myElement
, you can check if it is hidden like this:
if ($("#myElement").is(":hidden")) {
// do something if the element is hidden
}
This method will return true if the element is hidden and false if it is visible.