This question already has an answer here:
I'm trying this piece of code to achieve a button that gets disabled on mouse hover and gets enabled on mouse out.
<input type="button" value="submit" onMouseOver="this.disabled = true;" onMouseOut="this.disabled = false;" />
But it doesn't seem to work. It disables the button on mouse over but doesn't enable it on mouse out. Any suggestions? Thanks!
</div>