PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2025 → Obtenir les source page HTML contenant FrameSET
Obtenir les source page HTML contenant FrameSET
Iniciado por m.b.info, 07,jun. 2019 09:28 - No hay respuesta
Publicado el 07,junio 2019 - 09:28
Bonjour

Je recherche depuis plusieurs comment récupérer le code source d'une page HTML.

j'essaie de récupérer les informations d'un tableau dans une page HTML. j'utilise un champ activeX
Cette commande ci dessous me renvoie une FrameSet
Info(HTLM_RECH>>Document>>Body>>OuterHtml) :

<frameset rows="11%,8%,*" border="false" frameborder="0" framespacing="0">
<frame name="ENTETE" src="fr_entete.htm" marginwidth="0" marginheight="0" noresize="" scrolling="no">
<frameset cols="35%,7%,*" border="false" frameborder="0" framespacing="0">
<frame name="SOMMAIRE" src="fr_sommaire.asp" marginwidth="0" marginheight="0" noresize="" scrolling="no">
<frame name="OUTIL" src="fr_outil.htm" marginwidth="2" marginheight="0" noresize="" scrolling="no">
<frame name="LIBRE" src="fr_libre.asp?txtMSG=%20%20" marginwidth="2" marginheight="0" noresize="" scrolling="no">
</frameset>

<frame name="TRAVAIL" src="cdc_rechgen.asp?txtOffice=3WR8969WS1&txtUtilisateur=xxxxxxxx&txtTypeStruct=G&txtDadmelDef=" frameborder="0" marginwidth="5" marginheight="0" noresize="" scrolling="yes">

</frameset>


Alors que quand je fais un clic droit afficher le source, je dois avoir le code suivant ;

<table border="1" align="center" cellPadding="1" cellSpacing="1" width="97%">
<tr align="middle">
<td width="5%" ><STRONG>Sélection</STRONG><BR> Tout <input name="chkSelection" value="selection" title="Séléctionner ou désélectionner tous les biens présentés." onClick="Selectionner(1)" HEIGHT = 20px WIDTH= 20px type="checkbox"></td>
<th width="25%" colspan="4" > Identifiant de la Parcelle</th>
<th width="15%" > Contenance cadastrale </th>
<th width="15%" > Nature de culture </th>
<th width="30%"> Adresse </th>
<th width="5%" > Titulaires de droit </th>
</tr>

<tr align="middle">
<td width="5%" bgcolor="LightGrey" ><input name="chkSelect0" value="selectionnerpar" HEIGHT= 20px WIDTH= 20px type="checkbox" title="Selectionne le bien sur cette ligne." onClick="Cocher(0)"></td>
<td width="6%">057<INPUT type="hidden" name="textpar10" value = "057"></td>
<td width="6%"> <INPUT type="hidden" name="text20" value = " "></td>
<td width="5%">AL<INPUT type="hidden" name="text30" value = "AL"></td>
<td width="8%" ><A HREF="JAVASCRIPT:Info(' ','AL','0549','A L','','','055')" title="Informations complémentaires"><FONT color=Red>0549<INPUT type="hidden" name=text40 value = "0549"></FONT></A></td>

<td width="15%"> 0ha03a96ca</td>
<td width="15%">Sol </td>
<td width="30%"> 11 rue beaulieu</td>
<td width="5%" ><input name="rdRechtit" type="radio" title="Cliquer ici, pour la liste des propriétaires de ce bien." onClick="Titulaires(' ','AL','0549')"></td>
</tr>

</table>



Ma question Comment peut on simuler le clique droit afficher le source sur la partie du tableaux

Merçi par vance