html ondragout event?

jessa

New Member
I have a table that will contain elements dragge into each cell by the user. \[code\]<td ondrop="dropIt(event);" ondragover="dragOver(event)" onMouseOver="this.bgColor='grey';" onMouseOut="this.bgColor='white';"></td>\[/code\]When the user mouses over a cell, I want it to turn grey. When the mouse exits the cell i want it to turn white again. Likewise, when a user drags an element over a cell, i want it to turn grey. The problem i'm having is turning it white again after the user moves to another cell. Is there some kind of \[code\]ondragout\[/code\] event in html ?Thanks
 
Back
Top