//PHP判断手机号码 public function isMobile($params) { $pattern = "/^(13[0-9]|14[0-9]|15[0-9]|17[0-9]|18[0-9])\d{8}$/"; return preg_match($pattern,$params); } //PHP判断手机号码 public static function isMobile($mobile = null) { if (is_null($mobile)) $mobile…
<html> <head> <script language="JavaScript"> function checkMobile(input) { var mobile_number = input.value; var mobile_rule = /^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1}))+\d{8})$/; var tip = document.getElementById("tip&quo…