I'm trying to pull the class from a table. I have no problem pulling the href but the class is giving me errors. Here is what i'm trying to do. $oForm = _IETableGetCollection ($oIE, 3)
$oLinks = _IETagnameGetCollection($oForm, "TR")
For $oLink in $oLinks
ConsoleWrite($oLink.class & @CRLF)
NextSo it appears i can't call for .class like i am. Does anyone have any suggestions? This seems to work just fine though $oForm = _IETableGetCollection ($oIE, 3)
$oLinks = _IETagnameGetCollection($oForm, "a")
For $oLink in $oLinks
ConsoleWrite($oLink.href & @CRLF)
Next An example of one of the cells in the table-- <tr align="left" class="color"><td><a href="http://autoitscript.com">Good friendly People</a></td> So what i'm looking for is how to pull out the "color" and add it to the table i'm creating in the next step. I'd really like to just look within the table and not the entire sheet. Thanks!