<script language="JavaScript">
function refreshcapture(){
var imgid=document.getElementById('captchaImg');
imgid.setAttribute('src','stickyCaptcha.png?'+Math.random());
//加入随机数不然地址相同
}
</script>
<img src="stickyCaptcha.png" id="captchaImg" border="0" onclick="refreshcapture()" style="cursor:hand;" />
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/8720.html