# 点击更新验证码,只要重新在发送一个请求即可

<img src="/check_code/" onclick="updateCode(this);"  width="150px" height="34px" title="点击刷新验证码">

    function updateCode(ths) {
        ths.src = ths.src + '?'
    }
 /check_code/ 和/check_code/? 在匹配url的时候都是匹配到/check_code/的

 

相关文章:

  • 2021-10-30
  • 2021-11-18
  • 2022-01-31
  • 2021-05-29
  • 2022-02-16
  • 2021-10-11
  • 2022-02-01
  • 2021-08-24
猜你喜欢
  • 2022-01-19
  • 2021-07-08
  • 2021-10-08
  • 2021-08-16
  • 2021-12-13
  • 2021-11-12
  • 2021-10-15
相关资源
相似解决方案