<script type="text/javascript"> function checkform() { var re; var ss = document.getElementById('txtMobile').value; re = /^([][-]{})$/; if (re.test(ss)==false) { alert("手机号码输入不合法"); return false; } var id=document.getElementById(
function checkIdcard(idcard) { var Errors = new Array( "验证通过!", "身份证号码位数不对!", "身份证号码出生日期超出范围或含有非法字符!", "身份证号码校验错误!", "身份证地区非法!" ); var area = { 11: "北京", 12: "天津", 13: "河北", 1
package xidian.sl.netcredit.util; /** * Copyright (C) 2009-2010 Yichuan, Fuchun All rights reserved. * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this wo