concept execution in category jQuery

appears as: execution, execution, executions, The execution
jQuery in Action, Third Edition

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

A much better approach would be to wait only until the document structure is fully parsed and the browser has converted the HTML into its resulting DOM tree before executing the script to apply the rich behaviors. Accomplishing this in a cross-browser manner that takes into account older browsers is somewhat difficult, but jQuery provides a simple means to trigger the execution of code once the DOM tree has loaded (without waiting for external resources).

Figure 5.5b. The HTML snippet rendered by Chrome after the execution of the statement

Method syntax: hide

hide(duration[, easing][, callback])
hide(options)
hide()
Causes the elements selected to become hidden. If called with no parameters, the operation takes place instantaneously by setting the display style property value of the elements to none. If a duration parameter is provided, the elements are hidden over a period of time by adjusting their width, height, and opacity downward to zero, at which time their display style property value is set to none to remove them from the display.
An optional easing function name can be passed to specify how the transition between the states is performed. An optional callback can be specified, and is invoked when the animation is complete. In its second version, you can provide an object containing some options to pass to the method (more on the properties available later).
Parameters
duration (Number|String) Specifies the duration of the effect as a number of milliseconds or as one of the predefined value strings: "slow" (same as passing 600), "normal" (same as passing 400), or "fast" (same as passing 200). If this parameter is omitted and a callback function is specified as the first parameter, the value of "normal" is assumed.
easing (String) Specifies an easing function name to use when performing the transition from the visible state to the hidden state. The easing functions specify the pace of the animation at different points while in execution. If an animation takes place but this parameter isn’t specified, it defaults to "swing". More about these functions in section 8.3.
callback (Function) A function invoked when the animation completes. No parameters are passed to this function, but the function context (this) is set to the element that was animated. The callback is fired for each element that undergoes animation.
options (Object) An optional set of options to pass to the method. The options available are shown in table 8.1.
Returns
The jQuery collection.

Queuing up functions for execution is not all that useful unless you can somehow cause the execution of the functions to actually occur. Enter the dequeue() method.