S
Sudhanshu
I'm not able to use the values of text boxes. can anyone help me to do
so.
thank u.
<body text=white>
<form name="frm1">
<h3>Mathematical Operations<h3>
<table border=2 bgcolor=black cellpadding=10 name="tbl">
<tr><td>
Number 1:<input type="text" name="num1"width=15>
<br>
Number 2:<input type="text" name="num2" width=15>
</td></tr><tr><td>
Operator :
<input type="button" name=pls value=" + "
OnClick="calc("+",frm1)">
<input type="button" name=mns value=" - "
OnClick="calc("-",frm1)">
<input type="button" name=mul value=" X "
OnClick="calc("*",frm1)">
<input type="button" name=dvv value=" / "
OnClick="calc("/",frm1)">
</td></tr><tr><td>
Answer :<input type="text" name="ans" width=15>
</td>
</tr>
</table>
</form>
</body>
so.
thank u.
<body text=white>
<form name="frm1">
<h3>Mathematical Operations<h3>
<table border=2 bgcolor=black cellpadding=10 name="tbl">
<tr><td>
Number 1:<input type="text" name="num1"width=15>
<br>
Number 2:<input type="text" name="num2" width=15>
</td></tr><tr><td>
Operator :
<input type="button" name=pls value=" + "
OnClick="calc("+",frm1)">
<input type="button" name=mns value=" - "
OnClick="calc("-",frm1)">
<input type="button" name=mul value=" X "
OnClick="calc("*",frm1)">
<input type="button" name=dvv value=" / "
OnClick="calc("/",frm1)">
</td></tr><tr><td>
Answer :<input type="text" name="ans" width=15>
</td>
</tr>
</table>
</form>
</body>