Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
What is onmouseenter event in JavaScript?
The onmouseenter event triggers when you mouse hover the pointer.
Example
You can try to run the following code to learn how to work with onmouseenter event in JavaScript −
<html>
<head>
<script>
<!--
function sayHello() {
alert("Mouse Hover")
}
//-->
</script>
</head>
<body>
<p onmouseenter = "sayHello()">This is demo text for mouseenter event.</p>
</body>
</html> Advertisements
