concept jQuery() in category jQuery

appears as: jQuery()
jQuery in Action, Third Edition

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

The first function you’ll use in your path to learn jQuery is jQuery(). It accepts up to two arguments, and, depending on their number and type, performs different tasks. Like many other (almost all) methods in the library, it allows for chaining. Chaining is a programming technique used to call several methods in a single statement. Instead of writing

The first thing you need to do when using virtually any jQuery method is to select some document elements to act upon. As you learned in chapter 1, to select elements in a page using jQuery, you need to pass the selector to the jQuery() function (or its alias $()). The jQuery() function and its alias return a jQuery object containing a set of DOM elements that match the given criteria and also expose many of jQuery’s methods and properties.