Hi
I want to overwrite onmouseout method of a div in javascript. How am I going to implement it ? The approach I am using is as follows
<HTML>
<HEAD>
</HEAD>
<BODY>
<DIV id=div1 style="width:200;height:100">
</DIV>
<SCRIPT>
document.div1.style.onmouseout = "alert('Hello')";
</SCRIPT>
</BODY>
</HTML>
This thing doesn't work
I want to overwrite onmouseout method of a div in javascript. How am I going to implement it ? The approach I am using is as follows
<HTML>
<HEAD>
</HEAD>
<BODY>
<DIV id=div1 style="width:200;height:100">
</DIV>
<SCRIPT>
document.div1.style.onmouseout = "alert('Hello')";
</SCRIPT>
</BODY>
</HTML>
This thing doesn't work