title: jquery slider step increment in 10s but min value 1
body: <p>I have an issue where I want the steps to increment by 10 starting from 1 to a max of 1000.</p>
  
  <p>The problem is that if the value is 1, the next values are 11 then 21 etc. How could this be changed so that it goes from 1, 10, 20, 30 etc, so the first step is 9, then 10 afterwards. </p>
  
  <p>Sometimes the value can go to 1001 as well, I figured that if you slide to the max value quickly it'll stop at 1000, but if you stop at 991, it'll go over 1000 if you take the last step.</p>
  
  <pre><code>&lt;p&gt;
      &lt;label for="amount"&gt;Maximum price:&lt;/label&gt;
      &lt;input type="text" id="amount" style="border: 0; color: #f6931f; font-weight: bold;" /&gt;
  &lt;/p&gt;
  &lt;div id="slider-range-min"&gt;&lt;/div&gt;
  
  $("#slider-range-min").slider({
      range: "min",
      value: 1000,
      min: 1,
      step: 10,
      max: 1000,
      slide: function (event, ui) {
          $("#amount").val("$" + ui.value);
      }
  });
  $("#amount").val("$" + $("#slider-range-min").slider("value"));
  </code></pre>
  
  <p><a href="http://jsfiddle.net/zwTnY/" rel="nofollow">http://jsfiddle.net/zwTnY/</a></p>