One way is to use: visible jQuery pseudo selector as Adil mentioned. . A common pitfall is that if the element with class. highlight is nested to a container which is hidden then you wont be able to get it even though that element has display: block. Instead you could use css regex as follows: block ') A common pitfall is that you need to know exactly how the jquery find class display none Given a jQuery object that represents a set of DOM elements, the. find() method allows us to search through the descendants of these elements in the DOM tree and construct a new jQuery object from the matching elements. The. find() and. children() methods are similar, except that the latter only travels a single level down the DOM tree.