Event Handler Attachment


MethodDescription
bind()Bind an event handler to be fired when the given type of event is sent to the element. In general, use the on() method instead.
delegate()Bind one or more event handlers to be fired when the given type of event is/are sent to a descendant element matching selector.
jQuery.proxy()Takes an existing function and returns a new one that will always have a particular context.
on()Attaches event handlers to the selected elements.
off()Removes event handlers that were with the on() method.
one()Attaches one or more event handlers to selected elements. The handler is executed at most once per element.
trigger()Execute all handlers and behaviors attached to the selected elements for the given event type.
triggerHandler()Execute all handlers attached to the selected elements for an event.
unbind()Remove a previously-attached event handler from the elements.
undelegate()Removes the event handlers bindings on the element that have been previously bound with delegate() method.

Leave a Reply

Your email address will not be published. Required fields are marked *