|
-
Nov 19th, 2000, 10:52 AM
#1
Thread Starter
Member
I am writing a program to retrieve data from a web page which contains data in <TD>s in a <TABLE> tag. I am using webbrowser to get the document and already got the html element of the td. But the data is separated by a <BR> which actually represents 2 fields. The coding of the problem html is :
<td nowrap align=center valign=middle width=30>
<font size=2 color="#009933">226<br>
<font size=2 color="#0000ff">60</td>
If I use "innertext" to get it, I got 22660. The problem is that there is no way to distinguish the 2 fields as 2, 2660 or 22,660 or 226,60 or 2266,0.
Is these a method for retrieving the field before and after a <BR> ?
Anyone knows how to use the getadjacenttext method ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|