The purpose of this page is to help the reader understand how jQuery works. When you load the jQuery code, you create the global jQuery function object into window.jQuery.This means that window jQuery serves as a function and also has properties that can be used like any other object. When the jQuery documentation refers to jQuery objects, it is referring to objects returned by the jQuery function.
The following code uses a JavaScript function that will create a table listing the properties possessed by an object. It can also list the properties for two objects side by side so that they can be compared. Click here to see information about the source code.
This page then uses JavaScript to list the contents of the window.jQuery.fn.init() and window.jQuery() functions.
window.jQuery | window.jQuery('p') window.jQuery.fn |
window |