I have some code that is meant to trigger an even when the mouse rolls out of the textarea. This works fine if the amount of data in the textarea does not require a scrollbar, but as soon as the scrollbar appears the onmouseout is triggered when I roll onto the textarea as well.
Has anyone got any idea why this would occur??
Thanks
Tim
Has anyone got any idea why this would occur??
Code:
<div>
<textarea style="width:100px; height:80px" onmouseout="doSomething()">some data in here that has more height than the control</textarea>
</div>
Thanks
Tim