验证纯数字:onkeyup="this.value=this.value.replace(/D/g,'')"
验证带小说点的数字: onkeyup="this.value=this.value.replace(/[^d.]/g,'')" maxlength="6"