Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access value of control from HTML body
Message
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00975242
Message ID:
00989108
Views:
39
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
Previous
Reply
Map
View

Click here to load this message in the networking platform