jQuery – data() Method
The data() method attaches data to, or gets data from, a selected element.
The delay() method sets a timer to delay the execution of the next item in the queue.
The dequeue() method removes the next function from the queue and executes the function, allowing the remaining items in the queue() to continue.
The detach() method removes the selected elements, including all text and child nodes, but keeps data and events.
The empty() method removes all child nodes and content from the selected elements, but does NOT remove the element itself or its attributes.
The eq() method returns an element with a specific index number of the selected elements. 0 for element 1, 1 for element 2, 2, for element 3, etc.
The event.currentTarget property is the current DOM element within the event bubbling phase, and is typically equal to “this”.
The event.data property contains the optional data passed to an event method when the current executing handler is bound.
The event.delegateTarget property returns the element where the currently-called jQuery event handler is attached.
The event.isDefaultPrevented() method checks whether the preventDefault() method was called for the event.
The event.isImmediatePropagationStopped() method checks whether the event.stopImmediatePropagation() was called for the event.
The event.isPropagationStopped() method checks whether event.stopPropagation() was called for the event.
The event.namespace property returns the namespace when the event is triggered, and can be used to handle tasks differently depending on the namespace.
The event.pageX property returns the position of the mouse pointer, relative to the left edge of the document.
The event.pageY property returns the position of the mouse pointer, relative to the top edge of the document.
The event.preventDefault() method stops the default action of an element from happening, such as preventing a link or button from working.
The event.relatedTarget property returns which element is being entered or exited on mouse movement.
The event.result property contains the previous value returned by an event handler triggered by the specified event.
The event.stopImmediatePropagation() method stops the rest of the event handlers from being executed or bubbling up the DOM tree. In the following, any click events happening on the div will not be executed.