-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap-select.php
79 lines (53 loc) · 2.69 KB
/
bootstrap-select.php
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
77
78
79
<html>
<head>
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.3/css/bootstrap-select.min.css" />
</head>
<body>
<div class="container">
<div class="row">
<h2>Bootstrap-select example</h2>
<hr />
</div>
<div class="row-fluid">
<select class="selectpicker" data-live-search="true">
<option>Tom Foolery</option>
<option>Bill Gordon</option>
<option>Elizabeth Warren</option>
<option>Mario Flores</option>
<option>Don Young</option>
<option>Marvin Martinez</option>
</select>
</div>
</div>
<div class="btn-group bootstrap-select bs-select form-control">
<button type="button" class="btn dropdown-toggle btn-default" data-toggle="dropdown" data-id="sucursal" title="-- Seleccione --">
<span class="filter-option pull-left">-- Seleccione --</span> <span class="bs-caret">
<span class="caret"></span></span></button>
<div class="dropdown-menu open">
<div class="bs-searchbox">
<input type="text" class="form-control" autocomplete="off">
</div>
<ul class="dropdown-menu inner" role="menu">
<li data-original-index="0" class="selected">
<a tabindex="0" class="" style="" data-tokens="null">
<span class="text">-- Seleccione --</span>
<span class="fa fa-check check-mark"></span>
<div class="btn-group bootstrap-select bs-select form-control">
<button type="button" class="btn dropdown-toggle btn-default" data-toggle="dropdown" data-id="sucursal" title="Mall Concepcion" aria-expanded="false">
<span class="filter-option pull-left">Mall Concepcion</span> <span class="bs-caret">
<span class="caret"></span></span></button>
<div class="dropdown-menu open" style="max-height: 316px; overflow: hidden;">
<div class="bs-searchbox">
<input type="text" class="form-control" autocomplete="off">
</div>
<ul class="dropdown-menu inner" role="menu" style="max-height: 272px; overflow-y: auto;">
<li data-original-index="0" class="active">
<a tabindex="0" class="" style="" data-tokens="null">
<span class="text">-- Seleccione --</span>
<span class="fa fa-check check-mark"></span></a></li>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.3/js/bootstrap-select.min.js"></script>
</body>
</html>