Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading HTML and not InnerHTML
Message
From
17/02/2002 17:19:25
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00621335
Message ID:
00621356
Views:
10
>The HTMl object should be the first (zero based collection) item
>in the all collection of the document object.
>
>
>*oBrow is the browser object
>oAllCol=oBrow.document.all
>oItem=oAllCol.item(0) && probably the html element :-)
>? oItem.tagName
>
Ok, this works. However, the big problem with that is that InnerHTML is returning the view source in its own generating way and not the pure HTML source code I have written.
loAll=loHtml.Document.all
loItem=loAll.item(0)
MESSAGEBOX(loItem.innerHTML)
I thought by going at the upper level that this would have been removed. But, it's the same problem as with Body.InnerHTML as it changes the original source code and adds and changes a bunch of things.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform