Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HTML getting switched?
Message
De
15/04/2003 02:58:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
HTML getting switched?
Divers
Thread ID:
00777574
Message ID:
00777574
Vues:
84
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform