THE INDIA LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

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