-
Notifications
You must be signed in to change notification settings - Fork 0
/
email_verify_final_edited.html
65 lines (56 loc) · 2.21 KB
/
email_verify_final_edited.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>Email_Verif</title>
<!-- CSS-->
<link rel="stylesheet" href="css/email_css.css">
</head>
<body>
<div id="divPosition">
<div style="text-align: center;">
<label class="title">
Verify your email address
</label>
<br><br>
<label class="context">
We emailed you a four-digit code to invisionapp@ggg.vom.
<br>
Enter the code below to confirm your email address.</label>
<br><br>
<div>
<!-- 인증번호 입력 (숫자만 입력 가능)-->
<div>
<input class="inputs" placeholder="-" maxlength="1" size="1"
onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" autofocus required />
<input class="inputs" placeholder="-" maxlength="1" size="1"
onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" required />
<input class="inputs" placeholder="-" maxlength="1" size="1"
onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" required />
<input class="inputs" placeholder="-" maxlength="1" size="1"
onKeyup="this.value=this.value.replace(/[^0-9]/g,'');" required />
<br>
<!-- 전송 버튼 -->
<button type="button" onclick="myFunction()">Resend Code</button>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<!-- JavaScript -->
<script>
//auto focus on next text input
$(function () {
$(".inputs").keyup(function () {
var charLimit = $(this).attr("maxlength");
if (this.value.length >= charLimit) {
$(this).next('.inputs').focus();
return false;
}
});
});
</script>
</body>
</html>