104
rated 0 times
[
108]
[
4]
/ answers: 1 / hits: 52165
/ 12 Years ago, thu, july 26, 2012, 12:00:00
I do not know how to access a specific CSS using javascript.
Let us say,
#menu { color: red; }
can be accessed by
document.getElementById('menu').style.color = blue;
But I want to access
#menu li a { height: 10%; }
How do I access that using document.getElementById() ?
More From » html