表单的电话号码验证
摘要:function checkMobile(s) { var regEx = /^\d{8}-\d{1,9}$|^\d{11}-\d{1,9}$|^\d{8}$|^\d{11}$/; var tel = $(s).val(); if (tel.trim() != '') { if (!regEx.test(tel)) { ...
阅读全文
posted @ 2017-07-26 20:48
posted @ 2017-07-26 20:48
posted @ 2017-07-17 20:00
posted @ 2017-07-11 06:33