Javascript examples for jQuery Method and Property:mouseout
Hiding a div onmouseout
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.x-git.min.js"></script> </head> //from ww w .ja v a2s.c o m <body> <script> function Displayout() { $("#siteicon").mouseout(function () { console.log('sd'); $("#map_tooltip").hide("slow"); }); } </script> <div id="siteicon" onmouseout="Displayout();"> shit </div> <div id="map_tooltip"> asdad </div> </body> </html>