VOOZH about

URL: https://www.geeksforgeeks.org/jquery/jquery-mouse-events/

⇱ jQuery Mouse Events - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

jQuery Mouse Events

Last Updated : 13 Jun, 2022

This article will explain different mouse events occurring based on mouse positions on a particular HTML element.

Mouse Events in jQuery:

  • mouseenter and mouseleave
  • mouseup and mousedown
  • mouseover and mouseout
mouseenter and mouseleave: The mouseenter event occurs when the mouse is placed over the HTML element and mouseleave event occurs when the mouse is removed from the element. Output:
  • MouseUp and MouseDown events:

    mouseup and mousedown requires a mouse-click to occur.

    Output:
  • Mouseover and Mouseout:

    These events occur when the mouse is placed over some specific HTML element.

    Output:
  • Comment
    Article Tags:

    Explore