I am using jQuery to edit html elements using .each on all off a class. If I try to log any of the attributes then I will just get "" even though I have set the attributes to something in my css file.
Why is this happening? Can the javascript file not access the css attributes?
.csscan only access the attributes that are in thestyle="..."attribute, or were added by.css()dynamically. It doesn't return attributes that are inherited from style sheets.getComputedStylefunction.