-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMemberPopUp.html
77 lines (67 loc) · 2.3 KB
/
MemberPopUp.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
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<script src="http://code.jquery.com/jquery-latest.js"></script>
<title>wrong</title>
<meta name="description" content="">
<meta name="author" content="PC-164">
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<script>
function FindEmail(){
$.ajax({
url : '/MemberFind',
dataType : 'json',
type : 'POST',
data : {
'Member_Email' : $('#EmailText').val(),
},
success : function(result) {
if (result.Member_Name == "" ) {
alert('No data');
} else {
if(confirm('사용자 이름이 '+result.Member_Name+' 이 맞 습니까?')){
$.ajax({
url : '/MemberAdd',
dataType : 'json',
type : 'POST',
data : {
'Member_Email' : $('#EmailText').val(),
},
success : function(result) {
// alert('멤버추가직전');
window.opener.top.location.href = "/Frame"
window.close();
}
});
}
}
}
});
}
</script>
</head>
<body>
<div>
<header>
<h1></h1>
</header>
<nav>
</nav>
<div id="addr">
E-mail 주소를 입력하세요
<input type="text" id="EmailText" placeholder="Email 주소를 입력해 주세요">
</div>
<div>
<input type ="button" id="findBtn" value="찾기" href="javascript:void();" onclick = "FindEmail();" >
</div>
<footer></footer>
</div>
</body>
</html>