attributes collection object in FrontPAge

G

Guest

writing a macro in FrontPage 2000, how can I access
all the attributes of an HTML element. The getAttribute
method gives the value of an attribute if you know the
attribute name. For example, I can get the attribute value
of 'Align' attribute of 'DIV' element as follows:

strTempText = objElement.getAttribute("Align").

But, as we do in DOM object model, I want to capture
through a loop, the attribute values of all the attributes
defined in a specified element of an html file. I could
not find attribute collection object in FrontPage 2000
object model.

Thanks,
Joe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top