8
rated 0 times
[
12]
[
4]
/ answers: 1 / hits: 111016
/ 12 Years ago, tue, may 8, 2012, 12:00:00
I have the grap constructured by CSS, which is dynamically changes by JS. I show graph max value by pseudo element as:
.graph:before {
content:; //value that want set by JS
position:absolute;
top:0;
left:0;
}
That's why I need to set this value by JS. I tried $(.graph:before).css(content, hh);
but it didn't help. How to get that value?
More From » jquery