'onMouseEnter' Example : onMouseEnter « Event onMethod « JavaScript DHTML
- JavaScript DHTML
- Event onMethod
- onMouseEnter
'onMouseEnter' Example
<head>
<script language="JavaScript">
function function1(){
alert('The '+event.type+' event fired')
}
</script>
</head>
<body>
<div id="myDiv" onmouseenter="function1()">
Move the mouse into this div element area.
</div>
</body>
Related examples in the same category