+
<html>
<head><title>An additional form for numbers</title></head>
<body>
<form onSubmit="return false;">
   <input type="text" name="input1"> +
   <input type="text" name="input2">
   <input type="button" value="Enter" 
    onclick="this.form.output.value =
 parseInt(this.form.input1.value) + parseInt(this.form.input2.value);">
   <input type="text" name="output">
   </form>
   </body>
</html>
   

back