I need to find out if a div has the style of disply:none;. I can’t use obj.style.display because this attribute is being set in a class, not as an inline style. Is there anyway to get this info with javascript?
@ZeroKilledMar 13.2009 — #use standard method [b]getComputedStyle[/b] and for msie browser use currentStyle object. <i> </i>if(getComputedStyle) getComputedStyle([i]element[/i], null).display; // DOM compliant browser else [i]element[/i].currentStyle.display; // for msie // replace [i]element[/i] with an element node;