Possible Duplicate:
Changing a CSS rule-set from Javascript
I am creating a list of elements in my jsp page with the same class name. Say I am creating 4 elements with same class name as "someName". Now, I want to modify the style of these elements dynamically using javascript.i.e, when a style is changed for the class it should reflect in all the elements referenced by the class name.Also, I have to do this with IE8. Can this be accomplished?
Thanks