...
|
...
|
@@ -29,7 +29,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request. |
|
|
<div style="margin-top: 10px;">
|
|
|
<input class="verifyInputs" style="float: left; width: 191px; height: 26px; line-height: 35px; margin-left: 0px; padding: 5px;" name="verifyInput" id="verifyInput" placeholder="请输入验证码">
|
|
|
|
|
|
<img class="verifyCodes" style="float: left; width: 202px; height: 37px; line-height: 35px; margin-left: 11px; padding: 5px; margin-top: -5px;" onclick="changeCode()" src="/agent/getVerifyCode">
|
|
|
<img class="verifyCodes" style="float: left; width: 202px; height: 37px; line-height: 35px; margin-left: 11px; padding: 5px; margin-top: -5px;" onclick="changeCode()" src="<%=basePath %>agent/getVerifyCode">
|
|
|
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -152,7 +152,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request. |
|
|
|
|
|
function changeCode() {
|
|
|
|
|
|
var src = "getVerifyCode?"+new Date().getTime(); //加时间戳,防止浏览器利用缓存
|
|
|
var src = "<%=basePath %>agent/getVerifyCode?"+new Date().getTime(); //加时间戳,防止浏览器利用缓存
|
|
|
|
|
|
$('.verifyCodes').attr("src",src);
|
|
|
}
|
...
|
...
|
|