Events

jQuery

Category: Events


These methods are used to register behaviors to take effect when the user interacts with the browser, and to further manipulate those registered behaviors.

.click()

Bind an event handler to the “click” JavaScript event, or trigger that event on an element.

event.data

An optional object of data passed to an event method when the current executing handler is bound.

event.result

The last value returned by an event handler that was triggered by this event, unless the value was undefined.

.hover()

Bind one or two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.

.mouseup()

Bind an event handler to the “mouseup” JavaScript event, or trigger that event on an element.