converting units - mm to inches

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • printline
    New Member
    • Jul 2006
    • 89

    converting units - mm to inches

    Hello

    I need a javascript that converts mm to inches.

    Ex. I have a drop down menu in my form where users can choose either mm or inches. If they choose inches for example i have two text fields that should convert the typed in number to inches and a drop down meny with four values, that also should be converted to inches.....

    Can someone please help me........?
  • Hubson
    New Member
    • Aug 2006
    • 3

    #2
    Originally posted by printline
    Hello

    I need a javascript that converts mm to inches.

    Ex. I have a drop down menu in my form where users can choose either mm or inches. If they choose inches for example i have two text fields that should convert the typed in number to inches and a drop down meny with four values, that also should be converted to inches.....

    Can someone please help me........?
    Use the DOM to enter the text fields and drop down menu,get the text values and select values convert them and inner them back.That should be the easiest way,ill try to come up with some code but after i finnish my ajax work;/

    Comment

    Working...