$.metadata.setType("attr","vld");$.validator.addMethod("username",function(value){ varp=/^[0-9a-zA-Z\u4e00-\u9fa5\.\-@_]+$/; returnp.exec(value)?true:false;},"Pleaseenteronlyletters,digits,chineseand‘_‘,‘-‘,‘@‘");$.metadata.setType("attr","vld");$.validator..
分类:
Web程序 时间:
2015-10-13 19:29:18
阅读次数:
294