Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't retrieve text from <th> HTML tag
#2
Cannot test your HTML.
This works.
Macro Macro1913
Code:
Copy      Help
str w=
;<html><head></head><body>
;<table>
;<th id='grdTCardDtl_c_0_1' columnNo='1' height='30px' class="ig_6a760250_r4 ig_6a760250_2"><nobr>Dist. Code</nobr></th>
;</table>
;</body></html>

str s
HtmlDoc doc
doc.InitFromText(w)
s=doc.GetText("th" "grdTCardDtl_c_0_1")
out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)