<link type="text/css" rel="Stylesheet" href="/jquery-widgets-documentation/jqwidgets/styles/jqx.base.css" />
<script type="text/javascript" src="none"></script>
<script type="text/javascript" src="none"></script>
<script type="text/javascript" src="none"></script>
<script type="text/javascript" src="none"></script>
The next step is to define an element which will serve as a container for the range selector. DIV elements are conveninent because you can easily position them and specify a size of your choise. Give the DIV element an ID like 'jqxRangeSelector' or something that you like. Inside the first DIV, nest another DIV element, which will hold the contents of the range selector. The contents can be a background image or a widget, such as jqxChart.
<div id="jqxRangeSelector">
<div id="jqxRangeSelectorContent">
</div>
</div>
Insert the jQuery document ready code inside the head section of your page
$(document).ready(function()
{
// jqxRangeSelector initialization code goes here.
}
The final step is to prepare the range selector display settings and initialize the range selector.
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title id="Description">This demo shows how to initialize a jqxRangeSelector widget.
</title>
<link type="text/css" rel="Stylesheet" href="/jquery-widgets-documentation/jqwidgets/styles/jqx.base.css" />
<script type="text/javascript" src="none"></script>
<script type="text/javascript" src="none"></script>
<script type="text/javascript" src="none"></script>
<script type="text/javascript" src="none"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#jqxRangeSelector").jqxRangeSelector(
{
width: 500, height: 100, min: 0, max: 100, range: { from: 10, to: 50 }
});
});
</script>
</head>
<body>
<div id="jqxRangeSelector">
<div id="jqxRangeSelectorContent">
</div>
</div>
</body>
</html>