Select All $("*")

The simplest jQuery selector is Select All Elements selector. This simply selects all elements "tags" in the HTML document e.g. <html>, <body>, <div>

$("*")

$("*") Selects all elements

Example 1: $("*") will select all elements.
<div id='someID'>div-1</div>
<div class='someClass'>div-2</div>
<p>p-1</p>
<div>div-3</div>
<span>span-1</span>

Demo

jQuery selector $("*")