Closed fzhan closed 4 years ago
Form controller: <input type="text" id="price_range" name="price" class="" value="$$" data-from="$$"/>
<input type="text" id="price_range" name="price" class="" value="$$" data-from="$$"/>
JS:
$("#price_range").ionRangeSlider({ values: [ "Free", "$", "$$", "$$$", "$$$+" ], type: 'single', grid: true });
Yet slider always at "Free"
value=0 will set to "Free", value=1 will se to "$"
Form controller:
<input type="text" id="price_range" name="price" class="" value="$$" data-from="$$"/>
JS:
Yet slider always at "Free"