MartinLee
 var pattern = /^0{0,1}(1[0-9][0-9]|15[7-9]|153|156|18[7-9])[0-9]{8}$/,
	                str = $("#StorePhone").val();               
                    if (!pattern.test(str)) {
                        var msgModel = { MsgType: "warning", msg: "请正确输入手机号!", result: false, msgTitle: "系统提示" };
                        BPM.ShowMsg(msgModel);
                        $("#StorePhone").focus();
                        BPM.unblockUI($("#blockAddDiv")); //解除锁定
                        return false;      
                    }  
验证阿里大小宝卡号也没问题

分类:

技术点:

相关文章:

  • 2022-02-01
  • 2021-11-29
  • 2022-01-02
  • 2021-12-23
  • 2021-12-31
  • 2021-12-05
  • 2022-01-28
  • 2021-12-18
猜你喜欢
  • 2022-01-02
  • 2021-12-23
  • 2021-12-23
  • 2021-12-23
  • 2021-12-23
  • 2021-12-23
相关资源
相似解决方案