Back to main page
I've only tested this in IE 6 and Firefox 1.5.
IE returns "unknown" as the type of the
getAttributeNode function when working with
Msxml2.XMLHTTP object. Shouldn't it return "undefined"?
Firefox returns "function" as expected (with an
For XML document element:
For HTML element:
The only thing I can think of to get around this is to check if
node.getAttributeNode != "unknown" every time I want to make sure the object is defined.