首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

easyUI校验打包

2012-08-21 
easyUI校验封装$(function(){notNull(age,年龄不能为空)reapet(password,repassword,两次输入不

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');              }); 

?

热点排行