摘要: /*@author:slchen@exemple:varemail="slchen@xxxxx.com";alert($v.IsEmail(email));*/var$v=(function(){Function.prototype.method=function(name,fn){this.prototype[name]=fn;};varValidator=function(){};//是否邮件Validator.method('IsEmail',function(obj){varre=newRegExp(ValidatorRegex.Email);ret
阅读全文