Jquery Event
jQuery Event Methods
jQuery Event Methods
Event methods trigger or attach a percentage to an lawsuit handler for the selected elements.The next tabular array lists all the jQuery methods used to handgrip events.
Method / Property | Description |
---|---|
bind() | Deprecated inwards version 3.0. Use the on() method instead. Attaches lawsuit handlers to elements |
blur() | Attaches/Triggers the blur event |
change() | Attaches/Triggers the modify event |
click() | Attaches/Triggers the click event |
dblclick() | Attaches/Triggers the double click event |
delegate() | Deprecated inwards version 3.0. Use the on() method instead. Attaches a handler to current, or future, specified nipper elements of the matching elements |
die() | Removed inwards version 1.9. Removes all lawsuit handlers added amongst the live() method |
error() | Removed inwards version 3.0. Attaches/Triggers the mistake event |
event.currentTarget | The electrical flow DOM chemical constituent inside the lawsuit bubbling phase |
event.data | Contains the optional information passed to an lawsuit method when the electrical flow executing handler is bound |
event.delegateTarget | Returns the chemical constituent where the currently-called jQuery lawsuit handler was attached |
event.isDefaultPrevented() | Returns whether event.preventDefault() was called for the lawsuit object |
event.isImmediatePropagationStopped() | Returns whether event.stopImmediatePropagation() was called for the lawsuit object |
event.isPropagationStopped() | Returns whether event.stopPropagation() was called for the lawsuit object |
event.namespace | Returns the namespace specified when the lawsuit was triggered |
event.pageX | Returns the mouse lay relative to the left border of the document |
event.pageY | Returns the mouse lay relative to the tiptop border of the document |
event.preventDefault() | Prevents the default activity of the event |
event.relatedTarget | Returns which chemical constituent beingness entered or exited on mouse movement. |
event.result | Contains the last/previous value returned past times an lawsuit handler triggered past times the specified event |
event.stopImmediatePropagation() | Prevents other lawsuit handlers from beingness called |
event.stopPropagation() | Prevents the lawsuit from bubbling upwards the DOM tree, preventing whatever raise handlers from beingness notified of the event |
event.target | Returns which DOM chemical constituent triggered the event |
event.timeStamp | Returns the unwrap of milliseconds since Jan 1, 1970, when the lawsuit is triggered |
event.type | Returns which lawsuit type was triggered |
event.which | Returns which keyboard commutation or mouse push was pressed for the event |
focus() | Attaches/Triggers the focus event |
focusin() | Attaches an lawsuit handler to the focusin event |
focusout() | Attaches an lawsuit handler to the focusout event |
hover() | Attaches ii lawsuit handlers to the hover event |
keydown() | Attaches/Triggers the keydown event |
keypress() | Attaches/Triggers the keypress event |
keyup() | Attaches/Triggers the keyup event |
live() | Removed inwards version 1.9. Adds i or to a greater extent than lawsuit handlers to current, or future, selected elements |
load() | Removed inwards version 3.0. Attaches an lawsuit handler to the charge event |
mousedown() | Attaches/Triggers the mousedown event |
mouseenter() | Attaches/Triggers the mouseenter event |
mouseleave() | Attaches/Triggers the mouseleave event |
mousemove() | Attaches/Triggers the mousemove event |
mouseout() | Attaches/Triggers the mouseout event |
mouseover() | Attaches/Triggers the mouseover event |
mouseup() | Attaches/Triggers the mouseup event |
off() | Removes lawsuit handlers attached amongst the on() method |
on() | Attaches lawsuit handlers to elements |
one() | Adds i or to a greater extent than lawsuit handlers to selected elements. This handler tin mail away alone live triggered i time per element |
$.proxy() | Takes an existing percentage in addition to returns a novel i amongst a item context |
ready() | Specifies a percentage to execute when the DOM is fully loaded |
resize() | Attaches/Triggers the resize event |
scroll() | Attaches/Triggers the scroll event |
select() | Attaches/Triggers the choose event |
submit() | Attaches/Triggers the submit event |
toggle() | Removed inwards version 1.9. Attaches ii or to a greater extent than functions to toggle betwixt for the click event |
trigger() | Triggers all events saltation to the selected elements |
triggerHandler() | Triggers all functions saltation to a specified lawsuit for the selected elements |
unbind() | Deprecated inwards version 3.0. Use the off() method instead. Removes an added lawsuit handler from selected elements |
undelegate() | Deprecated inwards version 3.0. Use the off() method instead. Removes an lawsuit handler to selected elements, directly or inwards the future |
unload() | Removed inwards version 3.0. Attaches an lawsuit handler to the unload event |
Comments
Post a Comment