Example

Select all visible p elements:

$("p:visible")

Try it yourself »

Definition and Usage

The :visible selector selects every element that is currently visible.

Visible elements are elements that are not:

Syntax

$(":visible")