'onMouseOver' Example : onMouseOver « Event onMethod « JavaScript DHTML






'onMouseOver' Example

    
<head>
<script language="JavaScript">
    function function1(){
        alert('The '+event.type+' event fired') 
    } 
</script>
</head>
<body>
    <div id="myDiv" onmouseover="function1()">
        Move the mouse over this div element area to triger the mouseover event.
    </div>
</body>

    
      
      








Related examples in the same category