Menu
Hey everyone,
I assign a CSS class to a div element using javascript:
[CODE]page_div.setAttribute(“class”, page_class);
How can I access the different members of the CSS class (e.g. width, height) using JS?
I tried
[CODE]page_div.style.height
but unfortunately it says “undefined”
Looking forward to any advice
Steve