.syntax not working with class
I thought one could access attribute properties with . syntax, but not so with class?
I captured several tags by there ids
z.B. firstRef = docPath.getElementById("row0");
but firstRef.class doesn't work, but firstRef.attributes[3].nodeValue returns "rowColourDark" and firstRef.attributes[3].nodeName returns "class"
firstRef.attributes[3].specified returns "true" so why can't I access the class value with . syntax like I can access ID etc., etc.
|