Hopefully someone can help me. I have a page that has a text box at the top which has a check amount (5500.00). Below it are multiple rows with invoice numbers and dollar amounts with a text box beside them. What I'm trying to do is everytime you enter an amount in the text box (25.00), it subtracts that amount from the check amount at the top. If you change the amount, it adjusts it accordingly...
<form action="get" method="self.asp" name="formname">
Check Amount: <input type="text" name="checkamt">
Payment: <input type="text" name="partial1" onChange="adjust(document.formname.partial1.value)">
Payment: <input type="text" name="partial2" onChange="adjust(document.formname.partial2.value)">
Payment: <input type="text" name="partial2" onChange="adjust(document.formname.partial3.value)">
</form>
I can can adjust the amount the first time, but if I need to make changes to the Payment Amount, it just bombs out..
Any help would be great
Thanks
Bobby R
<form action="get" method="self.asp" name="formname">
Check Amount: <input type="text" name="checkamt">
Payment: <input type="text" name="partial1" onChange="adjust(document.formname.partial1.value)">
Payment: <input type="text" name="partial2" onChange="adjust(document.formname.partial2.value)">
Payment: <input type="text" name="partial2" onChange="adjust(document.formname.partial3.value)">
</form>
I can can adjust the amount the first time, but if I need to make changes to the Payment Amount, it just bombs out..
Any help would be great
Thanks
Bobby R