Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

InternetExplorer.Application DOM element attributes

$
0
0

Hi,

I am creating a program for DOM manipulation and I am stuck at reading element attributes.

The problem is that InternetExplorer.Application returns all attributes despite the fact if an attribute is set or not.

For example: InternetExplorer.Application.Document.DocumentElement.Attributes.Length returns 161.

I could iterate through all the attributes and check whether it is null or not but this is overload considering there is one or two attributes set out of 161.

I expect InternetExplorer.Application to return list of attributes which have value assigned just like it does in F12 in IE.

Can anyone help me out here please?

Thank you.


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>