Subj : Re: Retrieving a list of attributes from the class of an HTML-Element To : netscape.public.mozilla.jseng,netscape.public.mozilla.dom From : James Ross Date : Thu Jun 03 2004 04:15 pm Makamator wrote: > Hi there, > > this may be simple, but i've got no idea. > > the attached example returns "nothing" if you click on an Element that > has got a Class-Attribute. > > Any help appreciated. element.style.* only reads/writes the STYLE attribute. What you probably want is window.getComputedStyle(element, null).* (it has the same properties as element.style.*). HTH. -- James Ross Here we have a sad little bug tree. It know a mighty oak grows in Redmond. -- Bugzilla Quip List .