-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsamplehtmljavaform
48 lines (39 loc) · 904 Bytes
/
samplehtmljavaform
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<form method="GET">
<p>User:</p><input type="text"name = "user"></input>
<p>Email:</p><input type="text"name = "email"></input>
<p>Location:</p><input type="text" name = "location"></input>
<p>Image:</p><input type="text"name = "image"></input>
<input type="submit" name = "submit"><input>
</form>
</body>
<table>
<tr>
<td>User</td>
<td>Location</td>
<td>Email</td>
<td>Image</td>
</tr>
<tr>
<td>{{user}}</td>
<td> {{location}}</td>
<td>{{email}}</td>
<td><img id = "bob" src="{{image}}"></img></td>
</tr>
</table>
<button>Found </button>
Found:<input type="checkbox" onclick="as("></input>
<script type="text/javascript">
function as{
document.getElementbyId("bob").innerHTML
}
</script>
</body>
</html>
</html>