Skip to content Skip to sidebar Skip to footer

Conditional Statement That Check The Table Id - Asp Xml Dom

I have an HTML stored on the variable called textResponse coming from the other website and I also have a simple ASP-XML DOM code that check and output the table through className.

Solution 1:

I got the answers on my question by the way, atleast it will contribute to others who doesn't know yet

For Each table In HTMLDoc.getElementsByTagName("TABLE")
    If table.getAttribute("id") = "mytable" Then
        tablestr = table.outerHTML
    End If
Next

Hope it helps.. :)

Post a Comment for "Conditional Statement That Check The Table Id - Asp Xml Dom"