2012年7月14日

扩展easyui 的表单验证 (转)

摘要: easyui 的validatebox()提供了自定义验证的方法,为此我把一些常用的数据验证汇总了一下,代码如下:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$.extend($.fn.validatebox.defaults.rules,{CHS:{validator:function(value,param){return/^[\u0391-\uFFE5]+$/.test(value);},message:'请输入汉字& 阅读全文

posted @ 2012-07-14 01:38 AlexGeng 阅读(5218) 评论(2) 推荐(0) 编辑

导航