function isTime() {
    
var control = document.getElementById("Text1");
    
var reg = /^(((0?|1)\d)|(2[0-3]))\:[0-5]\d$/;
    
return reg.test(control.value);
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-08-20
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
猜你喜欢
  • 2021-12-28
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2022-02-04
相关资源
相似解决方案