SIVA

SIVA

  • NA
  • 742
  • 707.5k

how to get css class attribute value using javascript

Oct 29 2012 9:30 AM
Dear all,

I have css class with height attribute

.Testclass

{
   height:500px;
}

Here my requirement is
1. I need to get value of this height using javascript
2. assign to some javascript variable



Answers (2)