jQuery RangeSelector

Set the majorTicksInterval property of the jqxRangeSelector. Author: http://jqwidgets.com

by Gary Geniesse

HTML

<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id="rangeSelector">
</div>

JavaScript

$("#rangeSelector").jqxRangeSelector({
     width: 400,
     height: 100,
     theme:'energyblue',
     min: 0,
     max: 99,
     range: {
         from: 20,
         to: 60
     },
     majorTicksInterval: 10,
     minorTicksInterval: 1
 });