'onMouseEnter' Example : onMouseEnter « Event Handlers Reference « JavaScript Reference

'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 over this div element area.
    </div>
</body>

    
      
      








Related examples in the same category

1.'onMouseEnter' Syntax and Note
2.'onMouseEnter' Properties
3.'onMouseEnter' is applied to