I use "node.attributes" to retrieve all the DOM node attributes using JavaScript in IE. This gives me additional attributes that are not specified in the source. In Firefox, it only gives those specified in the HTML source (which is expected).
Is there a way to get the “only attributes” of the DOM elements that are specified in its HTML source in IE?
Thanks in advance.
-Sourabh
source
share