THE WORLD'S LARGEST WEB DEVELOPER SITE

jQuery :hidden Selector

jQuery Selectors jQuery Selectors

Example

Show hidden elements:

$(":hidden").show();

Try it yourself »

Definition and Usage

The :hidden selector selects hidden elements.

Hidden elements are elements that are:

  • Set to display:none
  • Form elements with type="hidden"
  • Width and height set to 0
  • A hidden parent element (this also hides child elements)

Note: This selector will not work on elements with visibility:hidden.


Syntax

$(":hidden")

jQuery Selectors jQuery Selectors


COLOR PICKER

colorpicker

SHARE THIS PAGE






Search w3schools.com:

Translate w3schools.com: