jQuery :visible Selector
Example
Select all visible
element:
$("p:visible")
Try it »
Definition and Usage
The :visible selector selects every element that is currently visible.
An element is visible unless it meets one of the following conditions:
- Set to display:none
- Form elements with type="hidden"
- width and height set to 0
- A hidden parent element (which also hides its child elements)
Syntax
$(":visible")
jQuery selector