amit varma

amit varma

  • 1.9k
  • 66
  • 8.6k

Input type="range" ; Step value change by condition

Feb 10 2017 1:38 AM
hello...
 
How to change input type="range" =>step value based on condition ? 
 
like i want <!-- :Difference: 200 250 350 450 all the way to 1150, 1200 -->
 
First value is 200..then its increase by 50...after that its increase by 100...(its look like : 250..350...1150...)
 
My input range control is : <input id="years" type="range" value="200" min="200" max="1200" /> 

Answers (1)