Event Handling |
bind( eventType, [ eventData ], handler(eventObject) ) |
jQuery |
.bind( eventType, [ eventData ], handler(eventObject) ) |
Attach a handler to an event for the elements. |
Event Handling |
bind( events ) |
jQuery |
.bind( events ) |
New 1.4 Attach a handler to an event for the elements. |
Event Helpers |
blur( handler(eventObject) ) |
jQuery |
.blur( handler(eventObject) ) |
Bind an event handler to the 'blur' JavaScript event, or trigger that event on an element. |
Event Helpers |
blur() |
jQuery |
.blur() |
Bind an event handler to the 'blur' JavaScript event, or trigger that event on an element. |
Event Helpers |
change( ) |
jQuery |
- |
Bind an event handler to the 'change' JavaScript event, or trigger that event on an element. |
Event Helpers |
change( handler(eventObject) ) |
jQuery |
.change( handler(eventObject) ) |
Bind an event handler to the 'change' JavaScript event, or trigger that event on an element. |
Event Helpers |
click( ) |
jQuery |
click( ) |
Bind an event handler to the 'click' JavaScript event, or trigger that event on an element. |
Event Helpers |
click( handler(eventObject) ) |
jQuery |
.click( handler(eventObject) ) |
Bind an event handler to the 'click' JavaScript event, or trigger that event on an element. |
Event Helpers |
dblclick( ) |
jQuery |
.dblclick() |
Bind an event handler to the 'dblclick' JavaScript event, or trigger that event on an element. |
Event Helpers |
dblclick( handler(eventObject) ) |
jQuery |
.dblclick( handler(eventObject) ) |
Bind an event handler to the 'dblclick' JavaScript event, or trigger that event on an element. |
Event Handling |
die( eventType, [ handler ] ) |
jQuery |
.die( eventType, [ handler ] ) |
emove an event handler previously attached using .live() from the elements. |
Event Helpers |
.error( handler(eventObject) ) |
jQuery |
.error( handler(eventObject) ) |
Bind an event handler to the 'error' JavaScript event. |
Event Helpers |
event.currentTarget |
Element |
event.currentTarget |
The current DOM element within the event bubbling phase |
Event Helpers |
event.data |
Anything |
event.data |
Contains the optional data passed to jQuery.fn.bind when the current executing handler was bound. |
Event Helpers |
event.isDefaultPrevented() |
Boolean |
event.isDefaultPrevented() |
Returns whether event.preventDefault() was ever called on this event object. |
Event Helpers |
event.isImmediatePropagationStopped() |
Boolean |
event.isImmediatePropagationStopped() |
Returns whether event.stopImmediatePropagation() was ever called on this event object. |
Event Helpers |
event.isPropagationStopped() |
Boolean |
event.isPropagationStopped() |
Returns whether event.stopPropagation() was ever called on this event object. |
Event Helpers |
event.pageX |
Number |
event.pageX |
The mouse position relative to the left edge of the document. |
Event Helpers |
event.pageY |
Number |
event.pageY |
The mouse position relative to the top edge of the document. |
Event Helpers |
event.preventDefault() |
undefined |
event.preventDefault() |
If this method is called, the default action of the event will not be triggered. |
Event Helpers |
event.relatedTarget |
Element |
event.relatedTarget |
The other DOM element involved in the event, if any. |
Event Helpers |
event.result |
Object |
event.result |
This attribute contains the last value returned by an event handler that was triggered by this event, unless the value was undefined. |
Event Helpers |
event.stopImmediatePropagation() |
- |
event.StopImmediatePropagation() |
Keeps the rest of the handlers from being executed. |
Event Helpers |
event.stopPropagation() |
- |
event.StopPropagation() |
This method prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event. |
Event Helpers |
event.target |
Element |
event.target |
The DOM element that initiated the event. |
Event Helpers |
event.timeStamp |
Number |
event.timeStamp |
This attribute returns the number of milliseconds since January 1, 1970, when the event is triggered. |
Event Helpers |
event.type |
String |
event.type |
Describes the nature of the event. |
Event Helpers |
event.which |
String |
event.which |
For key or button events, this attribute indicates the specific button or key that was pressed. |
Event Helpers |
focus( ) |
jQuery |
focus( ) |
Bind an event handler to the 'focus' JavaScript event, or trigger that event on an element. |
Event Helpers |
focus( handler(eventObject) ) |
jQuery |
.focus( handler(eventObject) ) |
Bind an event handler to the 'focus' JavaScript event, or trigger that event on an element. |
Event Helpers |
.focusin( handler(eventObject) ) |
jQuery |
.focusin( handler(eventObject) ) |
New 1.4 Bind an event handler to the 'focusin' JavaScript event. |
Event Helpers |
.focusout( handler(eventObject) ) |
jQuery |
.focusout( handler(eventObject) ) |
New 1.4 Bind an event handler to the 'focusout' JavaScript event. |
Interaction Helpers |
.hover( handlerIn(eventObject), handlerOut(eventObject) ) |
jQuery |
.hover( handlerIn(eventObject), handlerOut(eventObject) ) |
Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements. |
Interaction Helpers |
.hover( handlerInOut(eventObject) ) |
jQuery |
.hover( handlerInOut(eventObject) ) |
Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements. |
Event Helpers |
keydown( ) |
jQuery |
keydown( ) |
Bind an event handler to the 'keydown' JavaScript event, or trigger that event on an element. |
Event Helpers |
keydown( handler(eventObject) ) |
jQuery |
.keydown( handler(eventObject) ) |
Bind an event handler to the 'keydown' JavaScript event, or trigger that event on an element. |
Event Helpers |
keypress( ) |
jQuery |
keypress( ) |
Bind an event handler to the 'keypress' JavaScript event, or trigger that event on an element. |
Event Helpers |
keypress( handler(eventObject) ) |
jQuery |
.keypress( handler(eventObject) ) |
Bind an event handler to the 'keypress' JavaScript event, or trigger that event on an element. |
Event Helpers |
keyup( ) |
jQuery |
keyup( ) |
Bind an event handler to the 'keyup' JavaScript event, or trigger that event on an element. |
Event Helpers |
keyup( handler(eventObject) ) |
jQuery |
.keyup( handler(eventObject) ) |
Bind an event handler to the 'keyup' JavaScript event, or trigger that event on an element. |
Event Helpers |
live( eventType, handler ) |
jQuery |
.live( eventType, handler ) |
Attach a handler to the event for all elements which match the current selector, now or in the future. |
Event Helpers |
live( eventType, [ eventData ], handler ) |
jQuery |
.live( eventType, [ eventData ], handler ) |
New 1.4 Attach a handler to the event for all elements which match the current selector, now or in the future. |
Event Helpers |
load( handler(eventObject) ) |
jQuery |
.load( handler(eventObject) ) |
Bind an event handler to the 'load' JavaScript event. |
Event Helpers |
mousedown() |
jQuery |
.mousedown() |
Bind an event handler to the 'mousedown' JavaScript event, or trigger that event on an element. |
Event Helpers |
mousedown( handler(eventObject) ) |
jQuery |
.mousedown( handler(eventObject) ) |
Bind an event handler to the 'mousedown' JavaScript event, or trigger that event on an element. |
Event Helpers |
mouseenter() |
jQuery |
.mouseenter() |
Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element. |
Event Helpers |
mouseenter( handler(eventObject) ) |
jQuery |
.mouseenter( handler(eventObject) ) |
Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element. |
Event Helpers |
mouseleave() |
jQuery |
.mouseleave() |
Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element. |
Event Helpers |
mouseleave( handler(eventObject) ) |
jQuery |
.mouseleave( handler(eventObject) ) |
Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element. |
Event Helpers |
mousemove() |
jQuery |
.mousemove() |
Bind an event handler to the 'mousemove' JavaScript event, or trigger that event on an element. |
Event Helpers |
mousemove( handler(eventObject) ) |
jQuery |
.mousemove( handler(eventObject) ) |
Bind an event handler to the 'mousemove' JavaScript event, or trigger that event on an element. |
Event Helpers |
mouseout() |
jQuery |
.mouseout() |
Bind an event handler to the 'mouseout' JavaScript event, or trigger that event on an element. |
Event Helpers |
mouseout( handler(eventObject) ) |
jQuery |
.mouseout( handler(eventObject) ) |
Bind an event handler to the 'mouseout' JavaScript event, or trigger that event on an element. |
Event Helpers |
mouseover() |
jQuery |
.mouseover() |
Bind an event handler to the 'mouseover' JavaScript event, or trigger that event on an element. |
Event Helpers |
mouseover( handler(eventObject) ) |
jQuery |
.mouseover( handler(eventObject) ) |
Bind an event handler to the 'mouseover' JavaScript event, or trigger that event on an element. |
Event Helpers |
mouseup() |
jQuery |
.mouseup() |
Bind an event handler to the 'mouseup' JavaScript event, or trigger that event on an element |
Event Helpers |
mouseup( handler(eventObject) ) |
jQuery |
.mouseup( handler(eventObject) ) |
Bind an event handler to the 'mouseup' JavaScript event, or trigger that event on an element |
Event Helpers |
one( eventType, [ eventData ], handler(eventObject) ) |
jQuery |
.one( eventType, [ eventData ], handler(eventObject) ) |
Attach a handler to an event for the elements. The handler is executed at most once. |
Event Helpers |
jQuery.proxy( function, scope ) |
jQuery |
jQuery.proxy( function, scope ) |
New 1.4 Takes a function and returns a new one that will always have a particular scope. |
Event Helpers |
jQuery.proxy( scope, name ) |
jQuery |
jQuery.proxy( scope, name ) |
New 1.4 Takes a function and returns a new one that will always have a particular scope. |
Event Helpers |
ready( handler ) |
jQuery |
.ready( handler ) |
Specify a function to execute when the DOM is fully loaded. |
Event Helpers |
resize( handler(eventObject) ) |
jQuery |
.resize( handler(eventObject) ) |
Bind an event handler to the 'resize' JavaScript event, or trigger that event on an element. |
Event Helpers |
resize() |
jQuery |
.resize() |
Bind an event handler to the 'resize' JavaScript event, or trigger that event on an element. |
Event Helpers |
scroll( handler(eventObject) ) |
jQuery |
.scroll( handler(eventObject) ) |
Bind an event handler to the 'scroll' JavaScript event, or trigger that event on an element. |
Event Helpers |
scroll() |
jQuery |
.scroll() |
Bind an event handler to the 'scroll' JavaScript event, or trigger that event on an element. |
Event Helpers |
select( handler(eventObject) ) |
jQuery |
.select( handler(eventObject) ) |
Bind an event handler to the 'select' JavaScript event, or trigger that event on an element. |
Event Helpers |
select() |
jQuery |
.select() |
Bind an event handler to the 'select' JavaScript event, or trigger that event on an element. |
Event Helpers |
submit( handler(eventObject) ) |
jQuery |
.submit( handler(eventObject) ) |
Bind an event handler to the 'submit' JavaScript event, or trigger that event on an element. |
Event Helpers |
submit() |
jQuery |
.submit() |
Bind an event handler to the 'submit' JavaScript event, or trigger that event on an element. |
Event Helpers |
toggle( handler(eventObject), handler(eventObject), [ handler(eventObject) ] ) |
jQuery |
.toggle( handler(eventObject), handler(eventObject), [ handler(eventObject) ] ) |
Bind two or more handlers to the matched elements, to be executed on alternate clicks. |
Event Helpers |
toggle( [ duration ], [ callback ] ) |
jQuery |
.toggle( [ duration ], [ callback ] ) |
Display or hide the matched elements. |
Event Helpers |
toggle( showOrHide ) |
jQuery |
.toggle( showOrHide ) |
Display or hide the matched elements. |
Event Helpers |
trigger( eventType, extraParameters ) |
jQuery |
.trigger( eventType, extraParameters ) |
Execute all handlers and behaviors attached to the matched elements for the given event type. |
Event Helpers |
triggerHandler( eventType, extraParameters ) |
Object |
.triggerHandler( eventType, extraParameters ) |
Execute all handlers attached to an element for an event. |
Event Helpers |
unbind( eventType, handler(eventObject) ) |
jQuery |
.unbind( eventType, handler(eventObject) ) |
Remove a previously-attached event handler from the elements. |
Event Helpers |
unbind( event ) |
jQuery |
.unbind( event ) |
Remove a previously-attached event handler from the elements. |
Event Helpers |
unload( handler(eventObject) ) |
jQuery |
.unload( handler(eventObject) ) |
Bind an event handler to the 'unload' JavaScript event. |