"Untitled"
Bootstrap 4.1.1 Snippet by muzikiii

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<div class="col-lg-12">
<h2>Story</h2>
<div class="alert alert-secondary" role="alert">
A simple primary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
</div>
<div class="card">
<div class="card-body">
This is some text within a card body.
</div>
</div>
<br>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
function yesnoCheck() {
if (document.getElementById('cccCheck').checked) {
document.getElementById('ifCCC').style.visibility = 'visible';
}
else document.getElementById('ifCCC').style.visibility = 'hidden';
}
$(document).ready(()=>{
let template = `
<div class='item1'><input type="text" name="items1[]" placeholder="" class="form-control" id="tel1"/>
<button class="remove btn btn-light">x</button></div>`;
$("#add1").on("click", ()=>{
$("#items1").append(template);
})
$("body").on("click", ".remove", (e)=>{
$(e.target).parent("div").remove();
})
let template2 = `
<div class='item2'><input type="text" name="items2[]" placeholder="" class="form-control" id="tel2"/>
<button class="remove2 btn btn-light">x</button></div>`;
$("#add2").on("click", ()=>{
$("#items2").append(template2);
})
$("body").on("click", ".remove2", (e)=>{
$(e.target).parent("div").remove();
})
let template3 = `
<div class='item3'><input type="text" name="items3[]" placeholder="" class="form-control" id="tel3"/>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: