x
 
1
<!DOCTYPE html>
2
<title>My Example</title>
3
4
<!-- Bootstrap CSS -->
5
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
6
<div class="container-fluid">
7
        
8
<div class="input-group">
9
<input type="text" class="form-control" aria-label="Amount (rounded to the nearest dollar)">
10
<span class="input-group-addon">.00</span>
11
</div>
12
13
</div>
14
        
15
<!-- jQuery library -->
16
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
17
<!-- Bootstrap JS -->
18
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
19
20
<!-- Initialize Bootstrap functionality -->
21
<script>
22
// Initialize tooltip component
23
$(function () {
24
  $('[data-toggle="tooltip"]').tooltip()
25
})
26
27
// Initialize popover component
28
$(function () {
29
  $('[data-toggle="popover"]').popover()
30
})
31
</script>