Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading HTML and not InnerHTML
Message
 
To
17/02/2002 16:16:53
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00621335
Message ID:
00621342
Views:
9
>When doing IE automation, when we use the InnerHTML property to read the HTML code, that code is the generated code by the object and not the original code of the source page. How can we go from that:
>
>
>loHtml.Document.Body.InnerText
>
>
>and obtain the proper HTML source of the page?

Use the document.all collection to get the HTML object and from this object get the html.innerHTML content.

This will give you nearly all the content of the page except the html tag itself :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform