Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q48

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


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.