I am trying to retrieve the class property of a THTMLDIV object but TestPartner returns DIV ! (....DOH!)
Dim w As THTMLDiv
Set w = HTMLDiv("ID=DivRecogString")
aClass = w.ClassName
aClass will be "DIV".
What I am trying to retrieve is the HTML 4.01 specification of class, i.e.:
This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters.
<ELEMENT CLASS = sClass... >
for example <DIV span id="col_ext-gen2171" class="collapseBtnMinus">
I am trying to return "collapseBtnMinus",
"DIV" is useless as I already know that the HTML element is a DIV.