校验规则(国外英文资料).docVIP

  • 23
  • 0
  • 约1.91万字
  • 约 31页
  • 2017-06-10 发布于河南
  • 举报
校验规则(国外英文资料)

校验规则(国外英文资料) Common js authentication number, phone number, fax, mailbox, phone number, zip code, date JavaScript 1, Numbers, The function testisNum (object) { Var s = document.getelementbyid (object.).value; If (s! = ) { If (isNaN (s)) { Alert ( please enter the number ); Object. The value = ; Object. The focus (); } } } 2, phone number, fax / / check ordinary telephone and fax number: you can + start with -. The function isTel (object) { / / national code (2 to 3) - area code (2 to 3) - phone number (7 to 8) - extension (3) Var s = document.getelementbyid (object.).value; Var pattern = / ^ (

文档评论(0)

1亿VIP精品文档

相关文档