jQuery & jQuery UI Documentation

jQuery & jQuery UI

Mouse Events

  • .click()

    Bind an event handler to the "click" JavaScript event, or trigger that event on an element.

  • .dblclick()

    Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element.

  • .focusin()

    Bind an event handler to the "focusin" event.

  • .focusout()

    Bind an event handler to the "focusout" JavaScript event.

  • .hover()

    Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.

  • .mousedown()

    Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.

  • .mouseenter()

    Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element.

  • .mouseleave()

    Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element.

  • .mousemove()

    Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.

  • .mouseout()

    Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.

  • .mouseover()

    Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.

  • .mouseup()

    Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.

  • .toggle()

    Bind two or more handlers to the matched elements, to be executed on alternate clicks.