concept Universal selector in category jQuery

appears as: Universal selector
jQuery in Action, Third Edition

This is an excerpt from Manning's book jQuery in Action, Third Edition.

Listing 2.1. Using the Universal selector with jQuery

To retrieve all the elements of the page you need to use the Universal selector and pass it to the jQuery() function (or its alias $()) in a statement like the following:

15.1.1. Avoiding the Universal selector

The first and simplest advice we can give you to improve the performance of a selection is to avoid the Universal selector unless it’s absolutely needed. If in your code you have a selection like