扩展Jquery easyui的validator插件
摘要:/**
*
* 扩展easyui的validator插件rules,支持更多类型验证(重写验证方法)
*
*/
String.prototype.replaceAll = function(s1,s2)
{ return this.replace(new RegExp(s1,"gm"),s2); } String.prototype.Trim = function()
{ return this.replace(/(^\s*)|(\s*$)/g, ""); } $.extend($.fn.validatebox.defaults.rules,{ minL
        阅读全文
        
            posted @ 2013-08-13 12:55
                    
                
浙公网安备 33010602011771号