("*") selector selects all elements in the document, including html, head and body.
Syntax : $("*")
- The all selector is extremely slow so use carefully.
- If your browser has an extension/add-on enabled that inserts a
linkelement into the DOM, that element will be counted as well.
("*") selector is used together with another element, it selects all child elements within the specified element.
e.g. Below all selector will select all elements inside
Syntax : $("ul *")
Happy Learning !!