I have a table that will contain the elements dragged into each cell by the user.
<td ondrop="dropIt(event);" ondragover="dragOver(event)" onMouseOver="this.bgColor='grey';" onMouseOut="this.bgColor='white';"></td>
When the user iterates over a cell, I want it to turn gray. When the mouse leaves the cell, I want it to turn white again.
Similarly, when a user drags an element around a cell, I want it to turn gray. The problem I am facing turns it white again after the user moves to another cell. Is there any ondragout event in html?
thanks
html events
Sherlock
source share