below is the source code of the page.
Code: Select all
<html>
<head>
<title>Calculate</title>
</head>
<body>
<form method="post" action="">
N1:<input type="text"><br />
N2:<input type="text"><br />
<input type="submit" name="Add" value="Add">
<input type="submit" name="Sub" value="Sub">
<input type="submit" name="Mul" value="Mul">
<input type="submit" name="Div" value="Div"> <br>
=:<input type="text"><br />
I want user to enter Numbers in N1 field and N2 field
and when user clicks on Add, sub, div, mul button.
then the interface calculates both N1 and N2
and display the result in = field.
thanks in advance
please help me