getComputedStyle (or) $.css(map) <-- to get every style declaration

Posted by Matrym on Stack Overflow See other posts from Stack Overflow or by Matrym
Published on 2010-04-01T06:01:37Z Indexed on 2010/04/01 6:03 UTC
Read the original article Hit count: 390

Filed under:
|
|
|

Aside from looping through an array that has each style property declared, is there any way to get a key/value output of all styling of a dom element?

My fallback is iterating through the keys listed on: http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSview-getComputedStyle

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about style