Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML getting switched?
Message
From
15/04/2003 02:58:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
HTML getting switched?
Miscellaneous
Thread ID:
00777574
Message ID:
00777574
Views:
89
I'm starting to use the VFP WebBrowser.

I have this line in my code:
= ALINES( THIS._iaLines, loFrame.documentElement.outerHTML )

It works fine, except:
when I right mouse on the page and select "View Source", I see this line:
<A href='...' target='_parent' title='Blue'>

but during debugging I find that THIS._iaLines contains this line:
<A Title=blue href='...' target=_parent>
Just in case you didn't notice, the title has been moved inside the brackets, and the single quotes have been lost.
What gives?

Is the "...documentElement.outerHTML" reading a different frame than "view source" is?
Does "...documentElement.outerHTML" rearrange things inside brackets to suit itself?

TIA
Bill Morris
Next
Reply
Map
View

Click here to load this message in the networking platform