Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q48, December 14, 2000 at 00:30:00:

You are here: irt.org | About | Feedback | 2147 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q48

Sent by
Chris Kelley on December 14, 2000 at 00:30:00:

Worth:
Very worth reading

Length:
Just right

Comments:
But... it still doesn't say how to actually sum form fields...

Where Q1 through Q3 are radio buttons each with values 1 through 4, this code produces NaN.

function validate_form() {

a = document.form.Q1.value;
b = document.form.Q2.value;
c = document.form.Q3.value;
total = a + b + c;

alert ("Total = " + total);
return validity;
}




Other feedback on 'irt.org FAQ Knowledge Base Q48' - show all

©2018 Martin Webb