/
index.html
35 lines (30 loc) · 1.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<title>ajax</title>
</head>
<body>
<div class="container mt-3">
<form>
<div class="form-group">
<label for="">Nombre</label>
<input type="text" class="form-control" id="nombre">
<label for="">Puesto</label>
<input type="text" class="form-control" id="puesto">
<button type="submit" class="btn btn-primary">Enviar</button>
</div>
<div class="alert alert-primary" role="alert">
<strong id="res"></strong>
</div>
</form>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="javascript.js"></script>
</body>
</html>