Javascript/jQuery get external CSS value

Posted by Acorn on Stack Overflow See other posts from Stack Overflow or by Acorn
Published on 2010-04-25T09:47:33Z Indexed on 2010/04/25 9:53 UTC
Read the original article Hit count: 234

Filed under:
|
|

Is it possible to get a value from the external CSS of a page if the element that the style refers to has not been generated yet? (the element is to be generated dynamically).

The jQuery method I've seen is $('element').css('property','value');, but this relies on element being on the page. Is there a way of finding out what the property is set to within the CSS rather than the computed style of an element?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery