validatebox输入验证
$.extend($.fn.validatebox.defaults.rules, {
minLength: {
validator: function(value, param){
return value.length >= param[0] & value.length <= param[0];
},
message: '请输入3位数的数字'
}
});
<input name="??" class="easyui-validatebox" data-options="validType:'minLength[3]'">