function isNumber(str){ var re = /^([0-9]+)([.]?)([0-9]*)$/; return re.test(str); }. 该函数脱胎于一段网文,当时是拿来主义,但测试时发现2q也 ...
確定! 回上一頁