Home  >  Q&A  >  body text

Is this correct for refreshing the verification code?

<script>

function refreshVerify(){

var ts=Date.parse(new Date())/1000;

$("#verify_img ").attr("src","/captcha?id=" ts);

}

</script>

Why can’t the verification code be displayed? ##

风五浪风五浪2525 days ago830

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-08-09 17:51:44

    I can’t tell the reason simply from the code you posted. If you click and there is a response, please check the path of the verification code

    Reply
    0
  • CancelReply