Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

extract the text from this table?

Status
Not open for further replies.

canberrasnag

Programmer
Nov 25, 2004
19
RU
I have this table:
<TR class=tblwhite>
<TD WIDTH='16%' ALIGN='center' valign='top' class='tblwhite'>0.8200</TD>

The table is inside a form, so I can parse the objects inside the form....
But how can I extract the 0.820 ?
it is only text inserted on the page.
It isn't the value attribute.
 
If this were the Javascript forum then I would do it something like this...
Code:
<SCRIPT>
var myValue;
myValue = document.getElementByID('myID').InnerText;
</SCRIPT>
...
...
...
<TR class=tblwhite>
   <TD [red]ID='myID'[/red] WIDTH='16%' ALIGN='center' valign='top' class='tblwhite'>0.8200</TD>
not sure of the equivalent VBScript syntax though.

Tony
________________________________________________________________________________
 
Thank, but only 1 problem.
I don't have access to edit these tables. they are system generated online.(some one elses server) so I can't insert ID's
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top