validate格式校验之身份证号码校验
//校验身份证号码
function isIdCardNo(num) {
var factorArr = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5,8, 4, 2, 1];
var parityBit = ["1", "0", "X", "9", "8", "7", "6", "5", "4","3", "2"];
var varArray= [];
var lngProduct = 0;
var intCheckDig...
原创
2021-12-09 12:56:48 ·
1589 阅读 ·
0 评论