91-9990449935 0120-4256464 |
jQuery mouseout()The mouseout event is occurred when you remove your mouse cursor from the selected element .Once the mouseout event is occurred, it executes the mouseout() method or attach a function to run. This event is generally used with mouseover () event. Note: Most of the people are confused between mouseout and mouseleave. Difference between mouseleave and mouseoutThe mouseleave event is only triggered if the mouse pointer leaves the selected element whereas the mouseout event triggers if the mouse cursor leaves any child elements as well as the selected element. Syntax: It triggers the mouseout event for selected elements. It adds a function to the mouseout event. Parameters of jQuery mouseout() event
Example of jQuery mouseout() eventLet's take an example to demonstrate jQuery mouseout() event. Test it NowOutput: Move your cursor over this paragraph. jQuery mouseout() event example 2Let's see another example of jQuery mouseout() event. Test it NowOutput:
move your mouse
Next TopicjQuery load()
|