Hi! I have used CJuiSliderInput to create a range-slider that searches between two values in a database table-row, everything works as expected but I want to show the values that the slider currently stands on, "on the fly", for example Range: 10-23.
How can I create this functionality?
See example here: http://jqueryui.com/demos/slider/#option-values, and click on "range slider"
This is my code:
$this->widget('zii.widgets.jui.CJuiSliderInput', array(
'model'=>$model,
'attribute'=>'range1',
'maxAttribute'=>'range2',
// additional javascript options for the slider plugin
'options'=>array(
'range'=>true,
'min'=>5,
'max'=>30,
),
'htmlOptions'=>array(
'style'=>'width:400px;',
),
));