Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access value of control from HTML body
Message
 
 
À
21/02/2005 12:42:00
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00975242
Message ID:
00989108
Vues:
40
Fred,

It's basically the same thing in another language. Save this as a file and view it in the browser:
<html><body>

<script language=javascript>

function ShowStuff()
{
alert( window.document.forms[0].field1.value );
WhatYouTyped.innerHTML = window.document.forms[0].field1.value;
}
</script>

<form>
<input id="field1" type="text" onchange="javascript:ShowStuff();" />
</form>

<div id="WhatYouTyped"></div> 

</body></html>
>This would work if I were working in VFP to control the page. I need be able control the agent from client side scripting within the ASP.net page itself.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform