初始化类extendString后执行,如:
var test=new extendString();
extendString.isEmail("value");
如嫌麻烦可将extendString改成String后可直接在字符串中引用:
如document.getElementById("testId").value.isEmail()

}

相关文章:

  • 2022-03-05
  • 2022-02-13
  • 2022-02-15
猜你喜欢
  • 2022-01-30
  • 2022-03-05
  • 2022-12-23
  • 2021-09-12
  • 2022-01-09
  • 2022-12-23
  • 2022-01-31
相关资源
相似解决方案