dip vyas

dip vyas

  • 1.7k
  • 186
  • 6.4k

string value range slider using jquery

Aug 9 2019 4:19 AM
  1. var values = [68, 69, 70, 71, 72, 73, 74];  
  2.     $("#price_range2").slider({  
  3.         min: 68,  
  4.         max: 74,  
  5.           
  6.         values:[74, 68],  
  7.         slide: function( event, ui ) {  
  8.             $('#price_show2').text(String.fromCharCode(ui.value));  
  9.             $('#hidden_minimum_price2').val(String.fromCharCode(ui.values[0]));  
  10.             //alert(String.fromCharCode(ui.values[0]));  
  11.             $('#hidden_maximum_price2').val(String.fromCharCode(ui.values[1]));  
  12.             filter_data();  
  13.         }  
i created this but it only work in character.

Answers (3)