<HTML>
<HEAD>
<TITLE>Untitled</TITLE>
<SCRIPT language="JavaScript">function calculate(form1){
f=document.formName
f.t3.value=(f.t1.value-0)+(f.t2.value-0)
}
</SCRIPT>
</HEAD>
<BODY>
<FORM name="form1">
<TABLE align="center" cellspacing="2" cellpadding="2" border="0">
<TR>
</TABLE>
<TR>
<TD>Inputbox 1
<INPUT type="text" name="t1">
</TD>
<TD>Input box2
<INPUT type="text" name="t2">
</TD>
<TD>Result=
<INPUT type="text" name="t3">
</TD>
<TD>
<INPUT type="button" value="Calculate">
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>
<HEAD>
<TITLE>Untitled</TITLE>
<SCRIPT language="JavaScript">function calculate(form1){
f=document.formName
f.t3.value=(f.t1.value-0)+(f.t2.value-0)
}
</SCRIPT>
</HEAD>
<BODY>
<FORM name="form1">
<TABLE align="center" cellspacing="2" cellpadding="2" border="0">
<TR>
</TABLE>
<TR>
<TD>Inputbox 1
<INPUT type="text" name="t1">
</TD>
<TD>Input box2
<INPUT type="text" name="t2">
</TD>
<TD>Result=
<INPUT type="text" name="t3">
</TD>
<TD>
<INPUT type="button" value="Calculate">
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>