So, in my application I walk through the DOM nodes and add an attribute called elementNumber to each of them.
This works great in mozilla...to any node I just do:
node.elementNumber = "value";
But in ie, the syntax node.elementNumber fails if node has nodeType == 3. i.e. node is a textnode.
Thus, I am wondering how and if it is possible to add custom attributes like elementNumber to a textnode in interent explorer?