Events & Event Handler AttachmentsS2C Home « Events

Click a jQuery 3.5 API Events Method signature or property in the table below to see in-depth information on it.

AlphabeticallyDescription
Browser EventsTop
.error()**REMOVED**  Bind event handler to error JavaScript event, optionally passing object data
The .resize() method has three signatures:
.resize()Trigger the resize JavaScript event on the window object or the specified element.
.resize( handler(eventObject))Bind event handler to resize JavaScript event.
.resize( [eventData ,] handler(eventObject))Bind event handler to resize JavaScript event, optionally passing an object containing data.
The .scroll() method has three signatures:
.scroll()Trigger the scroll JavaScript event on the window object or the specified element.
.scroll( handler(eventObject))Trigger the scroll JavaScript event on the window object or the specified element.
.scroll( [eventData ,] handler(eventObject))Bind event handler to scroll JavaScript event, optionally passing an object containing data.
Document Loading EventsTop
.load()**REMOVED**  Bind event handler to load JavaScript event, optionally passing object data
The .ready() method has one signature:
.ready( handler )Bind event handler to ready JavaScript event, optionally passing object data
.unload()**REMOVED**  Bind event handler to unload JavaScript event, optionally passing object data
Event Handler AttachmentsTop
The .bind() method has three signatures:**DEPRECATED**  
.bind( eventType [eventData ,] handler(eventObject) )Bind an event handler to specified event type(s), optionally passing object data.
.bind( eventType[, eventData], preventBubble)Bind an event handler to specified event type(s) with or without bubbling, optionally passing object data.
.bind( events )Bind a specified object of event type(s) and functions to execute for them.
The .delegate() method has three signatures:**DEPRECATED**  
.delegate( selector, eventType, handler(eventObject))Henceforth, attach an event handler to all elements matching the specified selector for the given event type(s).
.delegate( selector, eventType, eventData, handler(eventObject))Henceforth, attach an event handler to all elements matching the specified selector for the given event type(s), passing object data.
.delegate( events )Henceforth, attach an object of event type(s) and functions to execute for them for the specified selector.
.die() **REMOVED** Remove event handlers from elements that were previously attached using the .live() method.
The jQuery.proxy() method has two signatures:**DEPRECATED**  
jQuery.proxy( function, context )Return a new function with a particular context.
jQuery.proxy( context, name )Set a context for a function.
.live() **REMOVED** Henceforth, attach an event handler to all elements matching the current selector for the given event type(s).
The .off() method has four signatures:
.off( events [, selector] [, handler] )Remove an event handler for the given event type(s), optionally passing a selector and/or handler.
.off( events [, selector] )Remove an event handler for the given event type(s), optionally passing a selector.
.off( event )Remove all event handler of given event type from attached elements.
.off()Remove all event handler from attached elements.
The .on() method has two signatures:
.on( events [, selector] [, data], handler( eventObject [, Anything extraParameter ] [, ... ] )Attach an event handler for the given event type(s), optionally passing a selector and/or an object of data.
.on( events [, selector] [, data] )Attach an object of event type(s) and handlers, optionally passing a selector and/or an object of data.
The .one() method has two signatures:
.one( events [, selector] [, data], handler(eventObject) )Attach an event handler for the given event type(s) that will execute a maximum of one times, optionally passing a selector and/or an object of data.
.one( events [, selector] [, data] )Attach an object of event type(s) and handlers that will execute a maximum of one times, optionally passing a selector and/or an object of data.
The .trigger() method has two signatures:
.trigger( eventType [, extraParameters] )Manually fire all event handlers and behaviours on the matched set, for the specified event (s), optionally passing parameters.
.trigger( event )Manually fire a jQuery.Event object on the matched set.
The .triggerHandler() method has two signatures:
.triggerHandler( eventType] [, extraParameters] )Manually fire all event handlers on an element, for the specified event type on an element, optionally passing parameters.
.triggerHandler( event] [, extraParameters] )Manually fire a jQuery.Event object on an element, optionally passing parameters.
The .unbind() method has four signatures:**DEPRECATED**  
.unbind( [eventType], [handler(eventObject)] )Unbind all event handlers from the specified elements, optionally passing a specified event type(s) and/or event handlers, to filter the unbinding.
.unbind( eventType, false )Unbind the corresponding return false function that was bound using .bind( eventType, false ).
.unbind( event )Unbind a JavaScript event object that was previously passed to an event handler.
.unbind( namespace )Unbind all events for a namespace.
The .undelegate() method has five signatures:**DEPRECATED**  
.undelegate()Unattach all delegated events
.undelegate( selector, eventType )Unattach all elements matching the specified selector for the given event type.
.undelegate( selector, eventType, handler(eventObject))Unattach an event handler for all elements matching the specified selector for the given event type.
.undelegate(selector, events )Unattach an object of event type(s) and previously bound functions to unattach from.
.undelegate( namespace )Unattach all events for a namespace.
Form EventsTop
The .blur() method has three signatures:
.blur()Trigger the blur JavaScript event on the specified element.
.blur( handler(eventObject))Bind event handler to blur JavaScript event.
.blur( [eventData ,] handler(eventObject))Bind event handler to blur JavaScript event, optionally passing object data.
The .change() method has three signatures:
.change()Trigger the change JavaScript event on the specified element.
.change( handler(eventObject))Bind event handler to change JavaScript event.
.change( [eventData ,] handler(eventObject))Bind event handler to change JavaScript event, optionally passing object data.
The .focus() method has three signatures:
.focus()Trigger the focus JavaScript event on the specified element.
.focus( handler(eventObject))Bind event handler to focus JavaScript event.
.focus( [eventData], handler( eventObject))Bind event handler to focus JavaScript event, optionally passing object data.
The .focusin() method has three signatures:
.focusin()Trigger the focusin JavaScript event on the specified element.
.focusin( handler(eventObject))Bind event handler to focusin JavaScript event.
.focusin( [eventData] ,handler(eventObject))Bind event handler to focusin JavaScript event, optionally passing object data.
The .focusout() method has three signatures:
.focusout()Trigger the focusout JavaScript event on the specified element.
.focusout( handler(eventObject))Bind event handler to focusout JavaScript event.
.focusout( [eventData ,] handler(eventObject))Bind event handler to focusout JavaScript event, optionally passing object data.
The .select() method has three signatures:
.select()Trigger the select JavaScript event on the specified element.
.select( handler(eventObject))Bind event handler to select JavaScript event.
.select( [eventData ,] handler(eventObject))Bind event handler to select JavaScript event, optionally passing object data.
The .submit() method has three signatures:
.submit()Trigger the submit JavaScript event on the specified element.
.submit( handler(eventObject))Bind event handler to submit JavaScript event.
.submit( [eventData ,] handler(eventObject))Bind event handler to submit JavaScript event, optionally passing object data.
Keyboard EventsTop
The .keydown() method has three signatures:
.keydown()Trigger the keydown JavaScript event on the specified element.
.keydown( handler(eventObject))Bind event handler to keydown JavaScript event.
.keydown( [eventData ,] handler(eventObject))Bind event handler to keydown JavaScript event, optionally passing object data.
The .keypress() method has three signatures:
.keypress()Trigger the keypress JavaScript event on the specified element.
.keypress( handler(eventObject))Bind event handler to keypress JavaScript event.
.keypress( [eventData ,] handler(eventObject))Bind event handler to keypress JavaScript event, optionally passing object data.
The .keyup() method has three signatures:
.keyup()Trigger the keyup JavaScript event on the specified element.
.keyup( handler(eventObject))Bind event handler to keyup JavaScript event.
.keyup( [eventData ,] handler(eventObject))Bind event handler to keyup JavaScript event, optionally passing object data.
Mouse EventsTop
The .click() method has three signatures:
.click()Trigger the click JavaScript event on the specified element.
.click( handler(eventObject))Bind event handler to click JavaScript event.
.click( [eventData ,] handler(eventObject))Bind event handler to click JavaScript event, optionally passing object data.
The .dblclick() method has three signatures:
.dblclick()Trigger the dblclick JavaScript event on the specified element.
.dblclick( handler(eventObject))Bind event handler to click JavaScript event.
.dblclick( [eventData ,] handler(eventObject))Bind event handler to dblclick JavaScript event, optionally passing object data.
The .hover() method has two signature:
.hover( handlerIn( eventObject) ,handlerOut(eventObject) )Bind two event handlers to The JavaScript hover event that activate when the mouse pointer enters or leaves the specified element.
.hover( handlerInOut eventObject)] )Bind an event handler to The JavaScript hover event that activates when the mouse pointer enters and leaves the specified element.
The .mousedown() method has three signatures:
.mousedown()Trigger the mousedown JavaScript event on the specified element.
.mousedown( handler(eventObject))Bind event handler to mousedown JavaScript event.
.mousedown( [eventData ,] handler(eventObject))Bind event handler to mousedown JavaScript event, optionally passing object data.
The .mouseenter() method has three signatures:
.mouseenter()Trigger the mouseenter JavaScript event on the specified element.
.mouseenter( handler(eventObject))Bind event handler to mouseenter JavaScript event.
.mouseenter( [eventData ,] handler(eventObject))Bind event handler to mouseenter JavaScript event, optionally passing object data.
The .mouseleave() method has three signatures:
.mouseleave()Trigger the mouseleave JavaScript event on the specified element.
.mouseleave( handler(eventObject))Bind event handler to mouseleave JavaScript event.
.mouseleave( [eventData ,] handler(eventObject))Bind event handler to mouseleave JavaScript event, optionally passing object data.
The .mousemove() method has three signatures:
.mousemove()Trigger the mousemove JavaScript event on the specified element.
.mousemove( handler(eventObject))Bind event handler to mousemove JavaScript event.
.mousemove( [eventData ,] handler(eventObject))Bind event handler to mousemove JavaScript event, optionally passing object data.
The .mouseout() method has three signatures:
.mouseout()Trigger the mouseout JavaScript event on the specified element.
.mouseout( handler(eventObject))Bind event handler to mouseout JavaScript event.
.mouseout( [eventData ,] handler(eventObject))Bind event handler to mouseout JavaScript event, optionally passing object data.
The .mouseover() method has three signatures:
.mouseover()Trigger the mouseover JavaScript event on the specified element.
.mouseover( handler(eventObject))Bind event handler to mouseover JavaScript event.
.mouseover( [eventData ,] handler(eventObject))Bind event handler to mouseover JavaScript event, optionally passing object data.
The .mouseup() method has three signatures:
.mouseup()Trigger the mouseup JavaScript event on the specified element.
.mouseup( handler(eventObject))Bind event handler to mouseup JavaScript event.
.mouseup( [eventData ,] handler(eventObject))Bind event handler to mouseup JavaScript event, optionally passing object data.
.toggle() **REMOVED** Bind two or more event handlers to the matched set that are executed cyclically on mouse clicks.