-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEditprofile.html
More file actions
79 lines (71 loc) · 2.84 KB
/
Editprofile.html
File metadata and controls
79 lines (71 loc) · 2.84 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="Editprofile.css">
<title>Profile Setting</title>
</head>
<body>
<div class="container">
<h1>Edit profile</h1>
<div class="profile-pic">
<label class="-label" for="file">
<span>Change Image</span>
</label>
<input id="file" type="file" onchange="loadFile(event)"/>
<img src="" id="profilephoto" width="200" name="profilephoto" />
</div>
<form action="EditProfile.jsp" method="post">
<div class="form-group">
<label for="name">User name*</label>
<input type="text" name="username" placeholder="Enter your User Name" >
</div>
<div class="form-group">
<label for="name">Full Name*</label>
<input type="text" name="fname" placeholder="Enter your First Name" >
</div>
<div class="form-group">
<label for="State">Gender*</label>
<select id="State" style="width: 100%;" name="gender" >
<option value=""></option>
<option value="Male">Male</option>
<option value="Female">Female</option>
<option value="Others">Others</option>
</select>
</div>
<div class="form-group">
<label for="Number">Mobile Number*</label>
<input type="text" name="mobileno" placeholder="Enter your Mobile Name" >
</div>
<div class="form-group">
<label for="Number">Email</label>
<input type="email" name="mobileno" placeholder="Enter your Emailid" >
</div>
<div class="form-group">
<label for="Number">Address</label>
<input type="text" name="mobileno" placeholder="Enter your Address" >
</div>
<div class="form-group">
<label for="State">State*</label>
<input type="text" name="state" id="" placeholder="Enter Your State">
</div>
<div class="form-group">
<label for="City">City*</label>
<input type="text" id="name" name="city" >
</div>
<div class="form-group">
<label for="Pin code">Pin Code*</label>
<input type="text" id="name" name="pincode" >
</div>
<button type="submit">Update</button>
</form>
</div>
</body>
<script>
var loadFile = function (event) {
var image = document.getElementById("profilephoto");
image.src = URL.createObjectURL(event.target.files[0]);
};
</script>
</html>