I have a link that looks like this:
<a href="#" onclick="changeClass()">My Button</a>
with the following CSS style applied:
.tree li a:hover, .tree li a:hover+ul li a {
background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
}
Now, my question is how can I change this .tree style to a different one? And if I click on it again, how do I make the style return to the original?