All selector ("*")

All Selector (“*”)

all selector

Description: Selects all elements.

  • version added: 1.0jQuery( "*" )

Caution: The all, or universal, selector is extremely slow, except when used by itself.

Examples:

Find every element (including head, body, etc) in the document. Note that if your browser has an extension/add-on enabled that inserts a <script> or <link> element into the DOM,