02.06.2013 Views

DOM Traversal Methods

DOM Traversal Methods

DOM Traversal Methods

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Selector Expressions<br />

Description<br />

The :hidden selector includes elements that have a CSS declaration of display:<br />

none or visibility:hidden, as well as form elements with type="hidden".<br />

If an element is hidden from view only because its parent (or other ancestor) element<br />

has a display of none or visibility of hidden, it will not be selected by :hidden when<br />

its own display property isn't none and its visibility property isn't hidden.<br />

Consider the following HTML:<br />

<br />

<br />

<br />

<br />

Although the child is not visible on the web page because of its parent 's<br />

display property, $('div:hidden') only selects .<br />

[ 36 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!