"Jquery slider range: view table rows as per price range filter"
Bootstrap 3.3.0 Snippet by abhijeetka

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 ---------->
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" rel="stylesheet" />
<h3 class="col-md-12 heading3" >Jquery slider range : View table rows as per price range filter</h3>
<div class="col-md-3 well">
<p>
<label for="amount">Price Range</label>
<input type="text" disabled id="amountRange" class="form-control font-weight-bold" />
</p>
<div id="slider-range2"></div>
<!--<br><div>Another Layout below: </div>
<div id="slider-range"></div>-->
</div>
<div class="col-md-8 text-left well">
<table class="table table-bordered table-hover" id="theTable">
<thead>
<tr class="info">
<th>First Column [ Price ]</th>
<th>Second Column</th>
<th>Third Column</th>
</tr>
</thead>
<tbody>
<tr>
<td>23</td>
<td>test</td>
<td>test2</td>
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
/*http://unbug.ru/content/jquery-ui-range-slider-tooltip-vsplyvayushchaya-podskazka-dlya-slaydera*/
.heading3{font-weight:bold; margin-bottom:18px; padding:0;}
#amountRange{
border:1px solid #afafaf;
color:green;
box-shadow:0 0 0;
width:150px;
display:none;
background:#fff;
text-align:center;
font-size:16px;
font-weight:bold;
}
#slider-range a.ui-slider-handle{}
#slider-range a.ui-slider-handle span,
#slider-range2 a.ui-slider-handle span{
position:absolute;
background-color:rgba(0,0,0,0.8);
margin-left:-8px;
bottom:-28px;
border-radius:3px;
padding:2px 5px;
color:#fff;
font-size:14px;
}
/* Here is the CSS to make the slider look pretty:*/
#slider-range, #slider-range2 {
width:300px;
margin-top:10px;
}
table{background:#fff;}
body {
margin: 15px;
}
#slider-range2.ui-slider-horizontal {
border: 0 none;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: