document.getElementById("txt1").value的類型是string

mewho
2014-06-02
1 回答
舉報
0/150
提交
取消
2014-06-02
舉報
2014-06-03
使用parseInt()方法轉(zhuǎn)換成數(shù)值