Hello,
I have this in my CSS:
#contentbox a{
font-weight: bold;
color: #c8a468;
cursor: pointer;
}
And want to change the color with Javascript's function: document.getElementById, but when I use document.getElementById('contentbox a').style.color= "#d05048", I get an error that it doesn't know 'contentbox a'.
I tried multiple things and searched on google, but I cannot get it to work.
Who can help me? It's a simple question...