posted 21 years ago
Hi
I need to add
text3=text1 +text2
then
text5= text3+text4
there is CALCULATE funtion which added
parseFloat(document.Form1.text3.value)=
parseFloat(document.Form1.text1.value)+
parseFloat(document.Form1.text2.value)
there is CALCULATE1 function which adds
parseFloat(document.Form1.text5.value)=
parseFloat(document.Form1.text3.value)+
parseFloat(document.Form1.text4.value)
The problem is when I am calling in Onchange="CALCULATE()" in text box for text3 it is working fine.
but I am calling onchange=CALCULATE1() in text3 text4 and text5 it is working first time. after I cahnge any of them in text1 which affect only text3 not text 5.
may be you get doubtn text3 is subtotal and text5 is total in page.
How I can solve. Please help me as soon as possible.
Thanks