-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (70 loc) · 3.67 KB
/
index.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="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link href="./assets/css/custom.css" rel="stylesheet">
<title>Bootstrap demo</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-6">
<p class="h1">Boostrap example</p>
</div>
<div class="col-6">
<p class="h3">Esercitiazione per jquery: validatione lato client</p>
</div>
</div>
<div class="row">
<div class="col-12">
<form action="./server/php/response.php" method="get">
<div class="col-12">
<div class="mb-3">
<label for="exampleInputName1" class="form-label">Nome</label>
<input type="text" name="exampleInputName1" class="form-control" id="exampleInputName1" aria-describedby="nameHelp">
<span id="checkSpanName"></span>
</div>
</div>
<div class="col-12">
<form action="./server/php/response.php" method="get">
<div class="mb-3">
<label for="exampleInputCognome1" class="form-label">Cognome</label>
<input type="text" name="exampleInputCognome1" class="form-control" id="exampleInputCognome1" aria-describedby="nameHelp">
<span id="checkSpanSurname"></span>
</div>
</div>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Email address</label>
<input type="email" name="exampleInputEmail1" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
<span id="checkSpan"></span>
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Password</label>
<input type="password" name="exampleInputPassword1" class="form-control" id="exampleInputPassword1">
<button type="button" class="btn btn-primary" id="showPwd">Show</button>
<span id="clearPassword"></span>
</div>
<div class="mb-3">
<label for="exampleInputRipetiPassword1" class="form-label">Ripeti Password</label>
<input type="password" name="x" class="form-control" id="exampleInputRipetiPassword1">
<button type="button" class="btn btn-primary" id="showPwd2">Show</button>
<span id="clearPassword2"></span>
</div>
<div class="mb-3">
<span id="checkSpanPass"></span>
</div>
<button type="button" class="btn btn-primary" id="check">Verifica tutti i campi</button>
<br>
<br>
<button type="submit" class="btn btn-primary" id="submitFinal" disabled >Submit</button>
</form>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="./assets/js/myjs.js"></script>
</body>
</html>