"Phone Enquiry"
Bootstrap 3.3.0 Snippet by bswarrior

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/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="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div id="startenquiry" class="container">
<div class="row">
<h2><span class="glyphicon glyphicon-earphone" aria-hidden="true"></span>Phone Enquiry</h2>
</div>
<div class="form-group">
<label for="mobile">Mobile</label>
<input type="text" class="form-control" id="mobile" placeholder="Customer's mobile phone number">
</div>
<div class="form-group">
<label for="emailadd">Email</label>
<input type="email" class="form-control" id="emailadd" placeholder="Customer's email address">
</div>
<div class="row">
<button type="submit" class="btn btn-default" id="exitcall1">Exit Call</button>
<button type="submit" class="btn btn-warning" id="continue1">Continue</button>
</div>
</div>
<div id="customerhistory" class="container">
<div class="row">
<h2><span class="glyphicon glyphicon-earphone" aria-hidden="true"></span>Contact History</h2>
</div>
<table class="table">
<thead>
<tr>
<th>Date</th>
<th>Method</th>
<th>Outcome</th>
<th>Staff</th>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
h2 > .glyphicon {
padding-right: 8px;
}
#startenquiry {
display: none;
}
#customerhistory {
/* display: none; */
}
#sendcodemethod {
}
#sendcodeverify {
display: none;
}
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
$( document ).ready(function() {
$( "#mobile" ).focus();
$( "#resumecontact" ).click(function() {
$("#sendcodemethod").show();
$("#sendcodeverify").hide();
});
$( "#sendcode" ).click(function() {
$("#sendcodemethod").hide();
$("#sendcodeverify").show();
});
$( "#exitcall2" ).click(function() {
/*
$( "#startenquiry" ).show();
$( "#customerhistory" ).hide();
$( "#mobile" ).focus();
*/
});
$( "#continue1" ).click(function() {
$( "#startenquiry" ).hide();
$( "#customerhistory" ).show();
});
$( "#newenquiry2" ).click(function() {
alert('TEST');
});
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: