I’ve got this
if ($("#sidebar .box_cuerpo").height() == "0") {
//blaaa
}
But sometimes on other pages inside site there are more than one “#sidebar .box_cuerpo ” elements… and also some are not height 0.
is it possible to check on all elements and if almost one is height 0 that statement it’s true?
You can use the
.filtermethod to reduce the collection..filterexecutes the given function for each element in the collection. If the function returnstrue, the element is kept. Otherwise (false), the element is discarded.