Hi,
I would like to obtain the non-computed style property of an element
examples:
jquery:
// will not work, as it will return the computed width (in pixels), when it is set to 'auto' I do not want the width in pixels, I want the actual property (auto).
// Also not acceptable as this will only retrieve inline properties.
Any help is hugely appreciated,
Cheers, Josh
I would like to obtain the non-computed style property of an element
examples:
jquery:
Code:
$(element).css("width")
Code:
element.style.width
Any help is hugely appreciated,
Cheers, Josh
Comment