onmouseleave ইভেন্ট তখন ট্রিগার হয় যখন মাউস হভার এলিমেন্টের বাইরে চলে যায়।
উদাহরণ
নিচের কোড চালিয়ে onmouseleave ইভেন্ট বুঝুন:
<html>
<head>
<script>
<!--
function sayHello() {
alert("Mouse Leave")
}
//-->
</script>
</head>
<body>
<p onmouseleave="sayHello()">This is demo text for mouseleave event.</p>
</body>
</html>