[thelist] JavaScript -- calculating & printing

lon.kraemer lwkraemer at earthlink.net
Mon Apr 9 15:30:44 CDT 2001


Even Ron's sample demonstrates a basic flaw. What if the user fills in BOTH
metric and imperial for a given dimension. How do you know which one was

I'm inclined to suggest using a radio select for type (meters or feet), then
inputs for the appropriate measurements... using Ron's calculator functions.
Of course they couldn't mix units once the radio was selected!

Tell us more about what you're doing!
Lon Kraemer
Web Design/ASP Development

From: "Luther, Ron" <Ron.Luther at COMPAQ.com>
> Input one length and one width (mix and/or match units) ....
> http://members.evolt.org/ronl/meterman.html

> From: Lauri Vain [mailto:optima at hot.ee]

> I have six input text fields:
> <.input type="text" name="length_meters">
> <.input type="text" name="length_feet">

More information about the thelist mailing list