VOOZH about

URL: https://www.geeksforgeeks.org/jquery/jquery-mouseout-method/

⇱ jQuery mouseout() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

jQuery mouseout() Method

Last Updated : 11 Jul, 2025

The jQuery mouseout() method is an inbuilt method which is used when mouse pointer moves out from the selected element. 

Syntax:

$(selector).mouseout(function)

Parameters: This method accepts single parameter function which is optional. This parameter is used to specify the function to run when the mouseout event is called. 

Example 1: This example illustrates the use of mouseout() method.

Output: 

👁 Image
 

Example 2: In this example, a pop-up will come out when the mouse moves out from the paragraph.

Output:

👁 Image
 
Comment
Article Tags:

Explore