Can I access to CSS atributes from Javascript?
I need to access to some atributes from Javascript and I don't know how... I've a project with a freeware menu. This menu is perfect for me, but now, I need to edit its atributes using CSS styles. For example, the colors are asigned inside the .js file with sentences like a.bgcolor = #FFFFFF;
I need to access to CSS file, read an atribute (for example background-color) and finally fill it in a.bgcolor.
Can I do that?
Thanks a lot and sorry about my English!