//验证身份证号码jQuery.validator.addMethod("idCardNo",function(value,element){//验证身份证号方法vartestIdCardNo=function(idcard){varErrors=newArray("验证通过!","身份证号码位数不对!","身份证号码出生日期超出范围或含有非法字符!","身份证号码校验错误!","身份证地区非法!");vararea={11:"