久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      JS 正則 時(shí)間驗(yàn)證

      復(fù)制代碼 代碼如下:
      function CheckTime()
      {
      var checkValue = new RegExp (“^[0-2]{1}[0-6]{1}:[0-5]{1}[0-9]{1}:[0-5]{1}[0-9]{1}”) ;
      var stControl = document.getElementById(“txtStartTime”) ;
      var stValue = stControl.value ;
      if (stValue == “”)
      {
      alert(“請(qǐng)?zhí)顚戦_始時(shí)間”) ;
      return false ;
      }
      if (!(checkValue.test(stValue)))
      {
      alert(“請(qǐng)?zhí)顚懝緝?nèi)部規(guī)定時(shí)間”) ;
      return false ;
      }
      var etControl = document.getElementById(“txtEndTime”) ;
      var etValue = etControl.value ;
      if (etValue == “”)
      {
      alert(“請(qǐng)?zhí)顚懡Y(jié)束時(shí)間”) ;
      return false ;
      }
      if (!(checkValue.test(etValue)))
      {
      alert(“請(qǐng)?zhí)顚懝緝?nèi)部規(guī)定時(shí)間”) ;
      return false ;
      }
      return true ;
      }
      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)