Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HTML Dom - web browser control
Message
De
26/09/2005 16:14:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
HTML Dom - web browser control
Divers
Thread ID:
01053216
Message ID:
01053216
Vues:
67
Greetings,

I'm working on an HTML integration utility. The goal is to load an HTML page into the web browser object in VFP and then trap the link the user clicks on so I can save the link source and do some extra processing before sending the user to the next page.

I'm got the page loaded fine and I can grab all the tags by using the getelementsbytagname method. I can loop through the tag elements using the following code:
loNodes = o.Document.getElementsByTagName("A")

FOR EACH loNode IN loNodes

  *** Need code here to assign onclick event?

ENDFOR
Does anyone know the code that I need to write inside this loop to setup the onclick so I can trap it in VFP?

Thanks in advance for the help!!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform