JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqgrid/4.6.0/css/ui.jqgrid.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqgrid/4.6.0/js/i18n/grid.locale-en.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqgrid/4.6.0/js/jquery.jqGrid.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.4/themes/ui-lightness/jquery-ui.css">
<p>
<label for="codes">Select Codes:</label>
<input type="text" id="codes" readonly="readonly" style="border:0; color:#f6931f; font-weight:bold;" />
</p>
<div id="slider-range" style="height:250px;"></div>
JavaScript
var arrCodes = [
'AAA12',
'AAB11',
'BA21'
];
$("#slider-range").slider({
orientation: "vertical",
range: true,
min: 0,
max: arrCodes.length - 1,
values: [0, arrCodes.length - 1],
slide: function (event, ui) {
$("#codes").val("Min: " + arrCodes[ui.values[0]] + " - Max: " + arrCodes[ui.values[1]]);
}
});
$('#codes').val(arrCodes[$("#slider-range").slider("values", 0)] + " - " + arrCodes[$("#slider-range").slider( "values", 1 )] );