-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebbysignup.html
More file actions
95 lines (87 loc) · 2.62 KB
/
webbysignup.html
File metadata and controls
95 lines (87 loc) · 2.62 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" href="singup.css">
</head>
<body>
<!-- <script src="t&t-signup.js"></script>
--> <div class="maindiv">
<form method="get" onsubmit="return validate()">
<p>First Name: Last Name:</p>
<input type="text" name="1name" placeholder="">
<!-- <p>Last Name:</p> -->
<input type="text" name="2name" placeholder="">
<!-- <hr style="width:200px"> -->
<p>Email:</p>
<input type="email" name="" value="" placeholder="">
<!-- <hr style="width:200px"> -->
<p>Contact No. :</p>
<input type="integer" name="contact" placeholder=""><br>
<!-- <hr style="width:200px"> -->
<p>Gender:</p>
<select name="genders">
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
<!-- <hr style="width:200px"> -->
<p> Birthday:</p>
<input type="date" name="dob">
<!-- <hr style="width:200px"> -->
<br>
<br>
<label>Password:</label><br>
<input type="password" name="pass" id="pass">
<br>
<br>
<label>Confirm Password:</label><br>
<input type="password" name="cpass" id="confirmpass">
<!-- <hr style="width:200px"> -->
<br>
<br>
<button onclick="btn()" >signup</button>
<script type="text/javascript">
/* function btn(){
var a=document.getElementById('password').value;
var b=document.getElementById('confirm_password').value;
}
if(a==b){
window.location='home.html';
window.alert("")
}
else{
window.alert("Check our Password");
}*/
// function btn(){
// var a = document.getElementById("pass").value;
// var b = document.getElementById("confirmpass").value;
// // var b = s;
// if(a==b){
// window.location='https//:www.google.com';
// // window.alert("submitted");
// }else{
// window.alert("not submitted");
// }
// }
function btn(){
var password=document.getElementById("pass").value;
var input=document.getElementById("confirmpass").value;
if(password==input){
// window.location.href="index.html";
window.location='home.html';
}
else
{
window.alert(" beta tumse na ho payega");
}
}
</script>
<br>
<br>
<div><a href="webbylogin.html">Back to Login page</div>
</form>
</div>
</body>
</html>