[thelist] Javascript - Form value undefined

Edward Hartfield ehartfield at sflabs.com
Tue Nov 11 11:16:33 CST 2003

If I'm not mistaken, this refers to the document, not the form.  You've got two forms on your page, but your code doesn't distinguish between them.

Edward Hartfield
SF Analytical Labs
6125 W. National Avenue
Milwaukee, Wisconsin  53212
(414) 475-6700
(414) 475-7216 (fax)
ehartfield at sflabs.com

Visit our website at http://www.sflabs.com

This communication (including any attachments) contains information which
is confidential and may also be privileged.
It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please do not distribute, copy or
use this communication or the information.
Instead, if you have received this communication in error, please notify
the sender immediately and then destroy any copies of it.

Due to the nature of the Internet, the sender is unable to ensure the
integrity of this message and does not accept any liability or
responsibility for any errors or omissions (whether as the result of this
message having been intercepted or otherwise) in the contents of this
Any views expressed in this communication are those of the individual
sender, except where the sender specifically states them to be the views of
the company.

-----Original Message-----
From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Tim Burgan
Sent: Tuesday, November 11, 2003 1:03 AM
To: [thelist] - Web Discussion
Subject: [thelist] Javascript - Form value undefined


I'm doing a basic JavaScript course at the moment - I'm trying to use logical
operators at the moment, but I've got stuck right at the beginning with
submitting a value from a form into JavaScript.

I've stripped the page down to 2 forms that are identical except from the data
input methods - 1 works (text inputs), 1 doesn't (radio inputs).


The form with the radio button displays a result of 'undefined', when it should
be either 0 or 0.25

Can someone please take a look at this to kelp me out?

Thanks for your time
Tim Burgan

* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !

More information about the thelist mailing list