assume I have this sample code:
<div class="class1">
... random content
</div>
Now all I want to do is just have a Javascript for on hover of that div, I need to add a css attribute:
background-color:#ffffe0;
border:1px solid #bfbfbf;
Thats really all I wish to achieve, however I wish to do this without jQuery.
EDIT: I don't really need a CSS solution as my application runs in quirks mode, which means it is not compatible in IE.