<input name="rgnrt" type="button" id="rgnrt" value="renew" onClick="var s=document.getElementById('imgVerify').src;var re = RegExp(/i=+([\d]*)/i);if(s.match(re)){re=re.exec(s)[0];a=s.split('?')[0];n=(parseFloat(re.split('=')[1])+1);document.getElementById('imgVerify').src=(a+'?i='+n);}else{document.getElementById('imgVerify').src=(s+'?i=1');}">
document.getElementById("imgVerify").src='imgVerify.php';
bg83
No comments:
Post a Comment