jQuery – event.type Property
The event.type property returns the event type that was triggered.
The event.which property returns which keyboard key or mouse button (by key/button number) was pressed for the event.
The focus event occurs when an element gets focus when selected by a mouse click or by tabbing to it with the tab keyboard key.
The focusin event occurs when an element or any elements inside that element gets focus.
The focusout event occurs when an element or any elements inside that element loses focus.
The hover() method specifies two functions to run when the mouse pointer hovers over the selected element, triggering the mouseenter and mouseleave events.
The keypress event occurs when a keyboard key is pressed down, but not for all keys (e.g. ALT, CTRL, SHIFT, ESC).
The mousedown event occurs when the left mouse button is pressed down over a selected element.
The mouseenter event occurs when the mouse pointer enters a selected element.
The mouseleave event occurs when the mouse pointer leaves a selected element.
The mousemove event occurs whenever the mouse pointer moves within a selected element.
The mouseout event occurs when the mouse pointer leaves a selected element.
The mouseover event occurs when the mouse pointer is over the selected element, and triggers even if over the element’s child element.
The mouseup event occurs when the left mouse button is released over a selected element.
The off() method is most often used to remove event handlers attached with the on() method.
The on() method attaches one or more event handlers to the selected elements and child elements.
The one() method attaches one or more event handlers for the selected elements, and specifies a function to run when the event occurs.
The $.proxy() method takes an existing function and returns a new one with a particular context.