1.不允许输入空格
1 <input id="input" onkeyup="this.value=this.value.replace(/[^ 0-9\,]/g,'');">***</input>
2.不允许为空校验
3.必填校验
4时间校验
5.只允许输入1-100校验