jQuery * selector
Example
Select all elements within the document:
$("*")
Try it »
Definition and Usage
- The selector selects all elements in the document, including html, head, and body.
If the * selector is used together with other elements, it selects all child elements within the specified element.
Tip:The * selector can be a processing burden on some browsers.
Syntax
$("*")
Try it - Example
Select all elements within
Use the * selector to select all elements within the element.
jQuery selector