ㅁinches = ㅁ centimeter
ㅁpounds = ㅁ kilogram
ㅁquarts = ㅁ liters
이런식으로 유닛 컨버전하는 창을 띄워서 돌아가야하는데 ㅠ.ㅠ.
어떻게 해야할지 감도안잡히네요 도와주세요.......
인치에서 -> 센치로 만되면되요 센치 -> 인치는 xx
<HTML>
<HEAD>
<TITLE>Unit Converter</TITLE>
<>
</>
</HEAD>
<BODY>
If you enter a number into one of the boxes in the first
column and then press the corresponding "=" button, a metric
equivalent will appear in the fourth column.
<P>
<FORM NAME="units">
<TABLE>
<TR>
<TD>
</TD>
<TD>
inches
</TD>
<TD>
<INPUT
TYPE=button
VALUE="="
="inchesToCentimeters();">
</TD>
<TD>
</TD>
<TD>
centimeters
</TD>
</TR>
<TR>
<TD>
</TD>
<TD>
pounds
</TD>
<TD>
<INPUT
TYPE=button
VALUE="="
="poundsToKilogram();">
</TD>
<TD>
</TD>
<TD>
kilogram
</TD>
</TR>
<TR>
<TD>
</TD>
<TD>
quarts
</TD>
<TD>
<INPUT
TYPE=button
VALUE="="
="quartsToLiters();">
</TD>
<TD>
</TD>
<TD>
liters
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>
감사합닏...알아서해야하는데 ㅠㅠ 쪼말이라 ㅠㅠ굽신굽신
자바스크립트가 문제가 아니라 애초에 언어를 잘 모르는거 아님?