Menu
I want to know how to modify a css hover pseudo class with javascript.
I can use document.getElementById(“el”).className to assign a predefined class to an element, but thats about all I know.
If the element is
<a href=”1.htm” id=”el”>
How do assign the links peudo classes, hover, link and visisted using javascript?
Hope someone can help!
Thanks,
Tim.