Reputation: 550
I am trying to get all computed css properties without the browser specifics through javascript/jQuery. Is there a way to do that?
Thank you
Upvotes: 1
Views: 134
Reputation: 35663
Yes, here is a cross-browser example:
The example is quite old. You probably want to reverse it to use getComputedStyle
in preference to currentStyle
.
Upvotes: 2