Is there a way to change an attribute of a CSS class using javascript?
I'm accessing CSS classes directly to adjust the height of a bunch of divs simultaneously. This is how I'm doing it:
function cssrules() {
var rules = {};
for (var i=0; i
and then you can do something like css_getclass('.classname').style.background="blue"
. I only tried this on chrome for windows, good luck with other browsers.