alert('请输入验证码!');history.go(-1);" Session("GetCode")=empty response.End() elseif lcase(code)lcase(Session("GetCode")) then response.write "alert('您输入验证码出错!');history.go(-1);" Session("GetCode")=empty response.End() Else Response.Write "alert('登陆成功');history.back();" response.End() end if end if %> /*显示认证码 o start1*/ function get_Code() { var Dv_CodeFile = "http://www.jb51.net/inc/getcode.asp"; //这个地方需要换车你网站实际的地址 if(document.getElementById("imgid")) document.getElementById("imgid").innerHTML = '<img src="'+Dv_CodeFile+'?t='+Math.random()+'" alt="点击刷新验证码" style="max-width:90%" onclick="this.src=\''+Dv_CodeFile+'?t=\'+Math.random()" />' } /*o end*/ var dvajax_request_type = "GET"; 验证码: 点击获取验证码 [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]