jQuery – blur() Method
The blur event occurs when an HTML element (usually a form field) loses focus.
The blur event occurs when an HTML element (usually a form field) loses focus.
The change event occurs when the value of a form element (input
, textarea
, select
) has changed.
The dblclick event occurs when an HTML element is double-clicked.
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.
The event.stopPropagation() method stops the bubbling of an event to parent elements, preventing any parent event handlers from being executed.
The event.target property returns which DOM element triggered the event and is often used to determine if the event is being handled due to event bubbling.
The event.timeStamp property returns the number of milliseconds since January 1, 1970, when the event was triggered.
Thanks for your support!
All are affiliate links. Thank you for your support!