jQuery & jQuery UI Documentation

jQuery & jQuery UI

Event Handler Attachment

  • .bind()

    Attach a handler to an event for the elements.

  • .delegate()

    Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements.

  • .die()

    Remove all event handlers previously attached using .live() from the elements.

  • .live()

    Attach an event handler for all elements which match the current selector, now and in the future.

  • .off()

    Remove an event handler.

  • .on()

    Attach an event handler function for one or more events to the selected elements.

  • .one()

    Attach a handler to an event for the elements. The handler is executed at most once per element.

  • jQuery.proxy()

    Takes a function and returns a new one that will always have a particular context.

  • .trigger()

    Execute all handlers and behaviors attached to the matched elements for the given event type.

  • .triggerHandler()

    Execute all handlers attached to an element for an event.

  • .unbind()

    Remove a previously-attached event handler from the elements.

  • .undelegate()

    Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.