验证码测试-demo

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript">


function change(obj){
obj.src="/day40/checkyzm?time="+new Date().getTime();
}


</script>

</head>
<body>
<form action="/day40/lo" method="post">
用户名:<input type="text" name="username"><br/>
密码:<input type="password" name="password"><br/>
验证码:<input type="text" name="username"><img onclick="change(this)" src="/day40/checkyzm"><br/>
<input type="submit" value="登录"><br/>
</form>
</body>
</html>

猜你喜欢

转载自www.cnblogs.com/lijun6/p/10467665.html