只能输入英文:<input type="text" value="" οnkeyup="this.value=this.value.replace(/[^a-zA-Z]+/g, '');" />
验证0-999数字:datatype:{
"num":/^([1-9]\d{0,2}|0)$/
}
转载于:https://www.cnblogs.com/fightingYY/archive/2012/11/01/2749449.html
转载于:https://www.cnblogs.com/fightingYY/archive/2012/11/01/2749449.html