标签:
验证码:<asp:Image ID="Image1" runat="server" Height="21px" ImageUrl="~/CodeCheck.aspx" Width="52px" />
<a href="javascript:changeImg();" style="color:red; font-size:12px; text-decoration:none;">看不清,换一张</a>
//刷新验证码
function changeImg(){
document.getElementById("Image1").src="CodeCheck.aspx?"+Math.random();
}
标签:
原文地址:http://www.cnblogs.com/myclovers/p/5366662.html