2014-01-13 22 views

回答

0

您可以動態更改字段的類型。喜歡的東西:

onFocus = "this.type = 'number'"; 

onBlur = "this.type = 'text'"; 
0

我會說堅持使用類型=「文本」,然後輸入VAL做parseInt()