about onmouseout event.
- by lazyanno
as follow codes:
<div id="outerBox" style="border:1px solid red;width:300;height:300" onmouseout="alert('out')">
<div id="innerBox" style="border:1px solid blue;width:50;height:50">inner</div>
</div>
why when i move mouse on the "innerBox", it was trigger alert('out') ?
i want mouse out "outerBox" trigger alert('out') only, mouse on "innerBox" don't trigger alert.
hot to do this?
thanks all :)