I have this simple line of code:
document.getElementById('tb').style.background = '#FFFFFF';
My CSS stylesheet is:
.tb {
background: #2f2f2f;
}
Why isn't my Javascript code working?
I'm new to Javascript so if you could please explain the problem rather than tell me the problem, I'd be grateful!
.td != #td