title: Jquery: Range Slider: How to get the set range values?
body: <p>I want to get the set range values using $_POST after form submit. The problem is when range set to 10 - 25, value 10 is the only value got.</p>
  
  <pre><code>if(isset($_POST['btn_submit']))
  {
     $value = $_POST['get'];
     echo "&lt;script&gt; alert($value) &lt;/script&gt;";
  }
  
  &lt;form method="post"&gt;
      &lt;input class="range-slider" type="hidden" name="get"/&gt;
      &lt;input type="submit" value="Submit" name="btn_submit"&gt;
  &lt;/form&gt;
  
    $(document).ready(function(){
      $('.single-slider').jRange({
          from: -2.0,
          to: 2.0,
          step: 0.5,
          scale: [-2.0,-1.0,0.0,1.0,2.0],
          format: '%s',
          width: 300,
          showLabels: true,
          snap: true
      });
  
      $('.range-slider').jRange({
          from: 0,
          to: 100,
          step: 1,
          scale: [0,25,50,75,100],
          format: '%s',
          width: 300,
          showLabels: true,
          isRange : true
      });
  });
  </code></pre>