I have a collection of DIV elements and I set their background color to a particular value inside JavaScript, then I call setTimeout to reset the background color. In short, I highlight these DIVs for a second. The problem is that prior to highlighting DIVs may have different colors and I need to remember this value and then restore it. Is there a simple way to store this value inside DIV itself? Maybe it has some string attribute which I could use for that (one that wont influence DIV appearance). I just want to avoid unnecessary Arrays.
Thanks.