Hi,
I have this in my CSS page :
which I want to change the color onClick.
How do I access the color element using getElementById?
document.getElementbyId('School')...
Thanks.
I have this in my CSS page :
Code:
#School li a:active
{
color: #FFFFFF;
background: url(images/schoolmenu.gif) 0 -64px;
padding: 8px 0 0 10px;
}
which I want to change the color onClick.
How do I access the color element using getElementById?
document.getElementbyId('School')...
Thanks.