Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't retrieve text from <th> HTML tag
#1
This code:
Macro TimeCard
Code:
Copy      Help
HtmlDoc doc
doc.InitFromInternetExplorer(w)
s=doc.GetText("th" "grdTCardDtl_c_0_1")
out s

Gives me this error:
Error (RT) in TimeCard: object not found (container). ?

Even though the HTML code contains:
<th id='grdTCardDtl_c_0_1' columnNo='1' height='30px' class="ig_6a760250_r4 ig_6a760250_2"><nobr>Dist. Code</nobr></th>

Is there a way to get the text from a <th> tag using the id?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)