On Fri, Apr 4, 2008 at 1:58 PM, Robert Poland <
email@hidden> wrote:
HI,
I use this to call the following function. I had it working but somehow I broke it. I can't for the life of me see what I'm missing.
Any suggestions?
<input name="payment[0]" id="payment[0]" type="checkbox" value="15" />
...
<input id="total_amount_due" name="total_amount_due" value="" type="text" maxlength="10" />
<script type="text/_javascript_">
function total_Prices() {
var a = Number(document.request_form.payment[0].value);
var b = Number(document.request_form.payment[1].value);
var c = Number(document.request_form.payment[2].value);
var x = a + b + c;
document.request_form.total_amount_due.value = x;
}
</script>
Bob Poland - Fort Collins, CO
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden
This email sent to email@hidden