读书人

easyUI校验打包

发布时间: 2012-08-21 13:00:22 作者: rapoo

easyUI校验封装

 $(function(){                  notNull('age','年龄不能为空');                  reapet('password','repassword','两次输入不相同');                  number('age','只能为数字');                  cellPhone('phone','手机号格式不正确');                  phone('phone','电话号码格式不正确');                  email('email','邮箱格式不正确');                  unique('username','unique.html','name');                  form('form','user_regist.html');              }); 

?

读书人网 >Web前端

热点推荐