The following code is meant to change cell colour to black on mouse over and set it to white 3 seconds after mouse out.
but instead just throws an Illegal Character Error.
<td onmouseover='this.bgColor="#000000"' onmouseout='setTimeout(this.bgColor=,3000)'> </td>
Have tried some variations like the foll, but they either just throw the same error or neither error nor result!
Could someone point out where I'm going wrong?
<td ... onmouseout='var color="#FFFFFF";setTimeout(this.bgColor=color,3000)'>...</td>