Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing an HTML form with an ActiveX component

Status
Not open for further replies.

YeaWhatever

Programmer
Nov 12, 2002
2
US
Hi All,

I have an HTML page with a form in it. I would like an ActiveX component to be able to perform calculations and update various form values. I have searched for books, resources on the web (especially Microsoft's developer pages) and other forums. I can't find an information on how to do this. Can someone point me in the right direction?

Below, I have created a really simple form. I would like an component that can recalculate "area" for each keystoke. How would I do this with ActiveX?

<form action=whatever.jsp>

<input type=text name=height size=5></input> Height <br>
<input type=text name=width size=5></input> Width <br>
<input type=text name=depth size=5></input> Depth <br>

<input type=text name=area size=5></input> Area <br>
<input type=submit>
</form
 
test = Parent.Script.location

Parent.Script.Document.write (&quot;ss&quot;)

testen = Parent.Script.Document.All(&quot;texten&quot;).Value

Parent.Script.Document.bgColor = &quot;green&quot;

Something like this ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top