Hi,
I have a node that I'm note sure is an element (from calling node.previousSibling). However I am having trouble finding out the cross browser javascript way to access the Node constants shown on the MDC.
In all browsers but IE Node.ELEMENT_NODE is defined. I tried using a specific instance of node, e.g.:
e=$("#element_id")[0];
alert("ELEMENT_NODE: " + ELEMENT_NODE);
This does not work in IE either. So whats the IE way to do this? Do I just have to define the node constants myself?