dbMark,
Thanks for the response.
I changed the double quote to single quote but it still won't work. Textbox 5 always show 0 whenever I put in value in textbox 1-4.
Thanks for your help.
dbMark,
This is what I did:
<script language="JavaScript" type="text/javascript">
function sum_boxes(callfrom)
{
var e = document.theform.length;
var tot=0;
var i;
for (i=0; i < e; i++)
{
// scan all form elements to find what we need
var...
Hi,
Can someone help me with this task:
I have four textboxes. I would like the calculation result (addition only) to appear automatically in textbox 5. How do I do it?
Also how do I avoid addition of a negative number?
Thanks for any help!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.