Home > Article > Web Front-end > Verification code refresh function
<label class="focusa">看不清?<a href="#" onclick="reImg();" class="c-blue">换一张</a></label> function reImg(){ $("#code").attr("src", 'http://192.168.1.238:9501/api/captcha'+ "?v=" + new Date().getTime()); }
The above is the detailed content of Verification code refresh function. For more information, please follow other related articles on the PHP Chinese website!