<input tabindex="11" name="door" maxlength="4" id="door" value="" alt="验证码:无内容/有空格/有全角/怪字符" style="width:90px;" />
<script language = javascript>
var pp= Math.round((Math.random()) * 100000000);
document.write("<img id=check_img src='include/image_reg.php?t=" + pp + "' alt='点击图片更换' onclick='con_code()'>");
document.write("<input type=hidden name=\"imgcode\" id=\"imgcode\" value=\"" + pp + "\">");
function con_code(){
var qq= Math.round((Math.random()) * 100000000);
document.getElementById('check_img').src = 'include/image_reg.php?t=' + qq;
document.getElementById('imgcode').value = qq;
}
</script>
<a href="javascript:con_code()" class="lan12i">看不清楚?换个图片</a>
谁能给详细讲解一下这里面的具体意思?比如src='include/image_reg.php?t=" + pp + "' alt='点击图片更换' ,这些,谢谢~
<script language = javascript>
var pp= Math.round((Math.random()) * 100000000);
document.write("<img id=check_img src='include/image_reg.php?t=" + pp + "' alt='点击图片更换' onclick='con_code()'>");
document.write("<input type=hidden name=\"imgcode\" id=\"imgcode\" value=\"" + pp + "\">");
function con_code(){
var qq= Math.round((Math.random()) * 100000000);
document.getElementById('check_img').src = 'include/image_reg.php?t=' + qq;
document.getElementById('imgcode').value = qq;
}
</script>
<a href="javascript:con_code()" class="lan12i">看不清楚?换个图片</a>
谁能给详细讲解一下这里面的具体意思?比如src='include/image_reg.php?t=" + pp + "' alt='点击图片更换' ,这些,谢谢~
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货