The onMouseOut event handler handles the event when the mouse cursor is moved away from the link.
<html> <head> <title> Using the onMouseOut event handler of the Link object</title> </head> <body> <script language="JavaScript"> <!-- function showMsg(){ alert("The Mouse cursor was removed from the link"); } --> </script> Click the mouse button while the cursor is on the link. <form name="form1"> <a href=http://www.navioo.com onMouseOut='showMsg()'> http://www.navioo.com</a> </form> </body> </html>